In a better world, if every country agreed not to destroy each other for a decade and applied their defense budgets, it's doable. Global defense budget is approximately 2.2 trillion as of 2022, according to Statista. Granted, that would cause of a lot of unemployment.