Australian defense budget is 36 billion [1] with a GDP of 1.2 trillion. US defense budget is 600 billion with a GDP of 18 trillion. It is just about the exact same percent of GDP.
[1] https://www.pyneonline.com.au/media-centre/media-releases/a-...
[1] https://www.pyneonline.com.au/media-centre/media-releases/a-...
As a percentage of total government expenditure, Australia spends 6% on defence and the US spends 16%.
GDP is not what that defense budget is protecting. People and property are what that budget exists to protect.
China has the second highest defense budget. We have about 1/4 the population of China, yet we spend several times more on defense.