Its better to be overconfident than to be underconfident.
When reality hits the overconfident, they are usually slapped into action - note Japan and the Meiji restoration. The opposite effect of not accepting reality happens very infrequently.
When the underconfident get hit by reality, they naturally cower and assume their position as weak colonial slaves naturally and meekly - see Iraq, Saudis, Philippines, Korea, etc etc.
If we are going to become weak colonial slaves, might as well cut the BS and invite the US to set up military bases in Shanghai and Beijing, give them extraterritoriality like Japan does, and maybe even have government run brothels for them like South Korea.
There is a saying: A soldier that doesn't want to be a general is a failure of a soldier. Therefore, the same applies for nations: a nation that does not want to be a superpower is forever destined to be a 3rd rate, colonial slave nation whose citizens should be killed, mocked, laughed at and ridiculed.