General Soleimani was taken out because doing so stopped an "imminent" massive attack he was planning on America. Right. And we had to invade Iraq because they were buying aluminum tubes and yellowcake uranium pursuant to increasing their stockpiles of nuclear, biological and chemical weapons.
Patrick Cockburn has spent many years in the Middle East and generally gets things right about what is going on there. What he writes all but invariably is borne out by time to be true. He has been saying for weeks that the unrest in Baghdad was not anti-Iranian, as American media claimed and as American politics hoped for, but was a protest against the Iraqi government, demanding jobs, public services and an end to corruption.
In an article yesterday, Cockburn made reference to “...General Soleimani overseeing the brutal efforts by pro-Iranian security forces and paramilitary groups to crush Iraqi street protests,” and the light dawned. America has been seeing these street protests as anti-Iranian, which they were not. The media has been reporting them as anti-Iranian and, as usual, was reporting inaccurately.
America wanted those street protests to continue, and General Soleimani was the main leader who was shutting them down. Draw your own conclusions.