Global military spending reached all-time high of $2.24 trillion in 2022