Trump ran in 2024 on a campaign that swore to avoid dragging the U.S. into foreign wars.