The US wanted to prevent the spread of socialism because it threatened the interests of the American ruling class. Now, they pushed Iran towards the opposing pole with China at the helm, a socialist country to boot.
So yeah, it succeeded at justifying militarism and destabilizing the Middle East, but not liquidating Iran as a threat.