A number of the terrorists have been educated.
"We examined the educational backgrounds of 75 terrorists behind some of the most significant recent terrorist attacks against Westerners. We found that a majority of them are college-educated, often in technical subjects like engineering. In the four attacks for which the most complete information about the perpetrators' educational levels is available - the World Trade Center bombing in 1993, the attacks on the American embassies in Kenya and Tanzania in 1998, the 9/11 attacks, and the Bali bombings in 2002 - 53 percent of the terrorists had either attended college or had received a college degree. As a point of reference, only 52 percent of Americans have been to college. The terrorists in our study thus appear, on average, to be as well educated as many Americans."
The Madrassa Myth - New York Times
I wonder if it is more a matter of power and control. The US throwing it's weight around. Terrorism is a tool of war. It's used by the underdog, fighting against a more powerful foe. When you know you can't win in a straight up confrontation.
It is self destructive, so used as a last resort when other options of winning are not available. If maybe beneficial for the leadership to limit access to education for the masses. So you don't have folks questioning the leadership. We do the in the US by the high cost of education. The rich get richer partly though education.
If we had a small group of people looking to overthrow the government, they'd probably incorporate terrorism.
The uneducated are easily led. That probably helps keeping those folks in power, in power.