Though I find Quark's attitude about Federation just as hypocritical as the Federation's attitude about the Ferengi.
To a certain extent, I believe, that was intentional. So many people tend to overlook the historical, even current, blemishes of their ancestry or nationalism while condeming others - glass houses and all that. So I feel the hypocrisy was purposeful.