We are hardly the reason why Iran and Afghanistan are in their present condition. Afghanistan was a theocracy before we showed up as it is now. Not that we didn’t try to instill democracy, but we failed. Iran was carved out by western powers and had a revolution making it a theocracy, which it is now. The US did take a dictatorship in Iraq and moved it to Democracy.