In general, this is true. The main motives for the US going into both these wars was born from "Manifest Destiny" which dictated that the US was destined to reach from coast to coast. This left very little chance of the opposition winning with a logical argument against invasion. It was a mission of conquest, not defense.