Yes, after Saddam invaded Iran, because Iran was trying to export its revolution to Iraq. We didn't make Iraq attack Iran though. It was just one more war caused by Iran exporting revolution which has happened several times in the Middle East already.
It was an opportunity to weaken Iran which is a far worse problem in the Middle East than Iraq was. Iran had fired most of its airforce pilots for not being Islamic radical enough and with their airforce in shambles, Saddam saw an opportunity. Then Iran had to rush to rehire their old airforce pilots regardless of their dedication to the revolutionary cause or regime just to fight back.
And what lead to Iran exporting Islamic revolution? Possibly something involving Kermit Roosevelt Jr and the CIA?