The old saying is "if you want peace prepare for war".
This is not entirely true, or at least, not complete .
You can have all the troops and weapons, but if your opponents don't think you have the mindset to use them, or use them effectively, they will do you no good at all.
Best off the top of my head example is France, they actually have very good equipment and training in proper proportion to the size of the nation, but because of the mindset of their leadership they haven't been able to even defend their own borders in over 200 years.