Your analogy is failed in first place
While its true about the US pre WWII doesnt have the weight in military likes the Germany, japan, Sovyet or UK. BUT, US big advantage is their highly educated population (in large number to boot yet many unemployed at the times) , along with their heavy industries capabilities in which they proudly call themselves as arsenal of democracy and Natural resources they had been blessed. They more like Chinese today in which most industrial product at the times is actually made in USA. Just the number of Sherman tank they can producing in one year is enough to arming an Army level unit, not to mention the number of P51 Mustang, bomber and so on.
Back to Bd conditions today, Bd doesnt have major heavy industries in reasonable number (automotive, engine block for trucks and car, and so on) in which can be converted into military product at any given times if required. Bd lacks of large scale of chemical factory to build ammonia and other anorganic industrial product (necessary to build propellant) . Bd lacks number of research units to back up military industry and research. Bd doesnt have meaningful Natural resources to be converted and use into war use like iron ore, coals, oil, mangan, nickel, zinc and the likes of supported units like cottons, sugar, potassium, nitrate, and so on.
Actually in case of Brazil and Mexico they dont have significant external threat, its very clear as they are within the core of USA sphere of influence area. Indonesia just recently rearming themselves, in which put Indonesia as top ten largest weapon importer
https://www.google.co.id/url?sa=t&s...FjAKegQIBhAB&usg=AOvVaw2ekAkktbRFjwuHQpin15HY
Actually in tie with Pakistan just in five years time frame. Germany, Canada case, they dont have necessity to put military first policy like US, Russia or China.
Meanwhile Bd had several flash point with Myanmar and Rohingya case actually quite severe and if it happened against any country in ASEAN can flare up into military conflict (they drove their people into other country boundaries, using firearms in border area and breach airspace with armed chopper firing in anger) well if its Indonesia we put war first before negotiation.