Pete Hegseth said that Washington's allies need to invest in their capabilities so they can project power and do basic tasks