for something between one and two decades Afghanistan & Iran attempted 'modernizations' under monarchs who either had a western education or were at least self conscious of their provincialism in the global post WWII context
all of which quietly but surely wound up the spring of theocratic reaction
what is true is the germans came in initially, followed by the russians, now the americans. the plan from the very beginning was divide and conquer. which they've succeeded in. the pommes participated as well.
it's not "theocracy" that you coontinually try to force into a shoe that just doesn't fit.
do some reading and stop blaming to suit your predefined agenda. it's quite boring!