Even if it were possible to end poverty in countries over which you have no authority, poverty is not the only cause of terrorism. It is a contributor to the numbers for certain, but it is not the only cause. You may recall the Madrid bombings. In the statement about why Spain was bombed, one of the reasons given was in retaliation for the Crusades. The CRUSADES that happened a thousand years ago. That ain't poverty. That's the extreme inability to let go of a grudge. Make the Hatfields and McCoys look down right reasonable for how long their dispute lasted.