I thought it applied only to individuals, but the Economist extends the view for countries too,

"Self-deprecating humour is the ultimate sign of emotional and political maturity, just as a rabid prickliness is typically a sign of unresolved complexes about superiority, inferiority, and lack of attention from the outside world."From the Economist: Eastern Approaches