GDP PPP is a more accurate measure. It factors in what things cost locally. The scales start to balance out more when looked from that angle.
Even then, some places like Afghanistan don't change much--and they're still completely unbeaten by modern militaries.