The US government used 9/11 as an excuse to invade two countries.
Iraq was not involved in 9/11 at all, despite allegations, and it didn't have WMD either, despite allegations.
And we invaded Afghanistan, but bin Laden was eventually found in Pakistan, our "ally".
The US public might have voted to invade Saudi Arabia, which actually would have made more sense than Afghanistan or Iraq.