Yep, this modern Jihad is the work of ol' Jimmah more than anyone. Projecting weakness while arming Islamists and leaving Afghanistan to the dogs was not a recipe for peace.
Although our military was still eviscerated at the time, when Reagan ran from Lebanon it didn't help. I hate to speak ill of the Gipper, but....
We should have finished Saddam in 1991 and eliminated the Syrian army while it was handy if they objected. Although we didn't have the stomach at the time for nation building, it would have saved a bit of trouble in the future.
Then there's Clinton with his air war is Bosnia and chicken poop pullout from Somalia.
Oh well, hindsight is 20/20, but the root of the modern problem is on Jimmy.
I think Carter's main error in that region at that time was allowing the Shah of Iran to be overthrown. Maybe the Shah's downfall was inevitable but Carter did nothing to help. As the Shah fled Iran he said, "This is the beginning of the decline of the West." Iran has turned into a world terror factory.