Defense Secretary Pete Hegseth said those failing to show commitment to "collective defense" would fall out of favor with the U.S.