Ive always found this cause and effect argument a bit weird.
By that rationale, we shouldnt have fought WW2 because it created the Cold War.
I think the iraq war was wrong on its own merits, and i thought so at the time. But isis / aq in iraq or any other bunch of muslim headbangers had existed long before iraq, and would have sprung up elsewhere- like Afghanistan for exampe.
But having a vaccumn in Iraq gave them a home to grow strong. Similarly the chaos of the Syrian Civil War gave them a base of operations.