They are doing it because they are twisted Islamic jihadists who want to impose a tenth century culture on everyone. It is pretty clear that you do not understand what is going on... and you have invented a fairy tale that the west is somehow at fault for what they're doing... and somehow we have brought this terrorism upon ourselves - which is a twisted narrative.
The Middle Eastern people's big mistake was to be born on top of our oil. I'll grant that this was accidental. Still, they should get out of the way.
So what exactly was taken from them? Are they not getting rich off the oil that is in their land. The west did not take their oil or anything else.
The west did not take the oil from countries in the Middle East. The countries are getting rich off of shipping their oil to the west - which raises the standard of living in these countries.
I have read the history. Apparently you are failing to understand that the west is not stealing oil from the middle east.