Iraq was easy to justify do to its continuing violations of the truce which ended the First Gulf War. It only happened after 9/11 because Bill Clinton allowed the violations to continue without any meaningful action to stop them.
But then there’s the Serbs bombed under NATO involvement, under Clinton, in which NATO went against it’s defensive charter; the Serbs didn’t attack a NATO member.