While there were almost certainly other contributing factors, my understanding has always been that we went into Iraq because it was thought that Saddam very likely had weapons of mass destruction, and after 9/11 we didn't want to risk him being able to do anything "evil" with them.