As a sibling comment says, Si vis pacem para bellum has withstood the test of time.
Of course the US wasting money having 10 aircraft carriers and 10 "mini" aircraft carriers ( the same size as other countries' 1-2 aircraft carriers) doesn't really fit into that and certainly isn't for defence.