Trump just had to teach himself that lesson. He shouldn't have tried to conquer Iran with bombs, should not have ignored the people who told him it would be a grueling slog requiring a ground invasion.
Modern warfare as seen in Iran and Ukraine seems to revolve around cheap drones and missiles. The US military does not seem to have air defense systems that are designed to handle them in the quantity needed.
Seems to me that basically all military assets in the US besides our submarines and long range US based bombers are too vulnerable to these cheap drones and missiles. Tanks - vulnerable. Aircraft carriers - vulnerable. Fighters and bombers at air bases - vulnerable. Artillery - vulnerable. Radar systems -vulnerable. Fuel and weapons depots - vulnerable.
Unless we figure out air defense, it seems like we cannot really fight any war effectively, all our weapons and soldiers will get blown up by the drones and missiles