Yet another horrific terrorist attack by Muslim extremists, and yet again its perpetrators are not those struggling through poverty:
On the contrary, they were scions of the small, rich, and educated local elite. They were privileged as only the rich in poor countries can be privileged.
Where a child is cruel to animals, thieving, lying, and disobedient from an early age, we expect little good of him later in his life. It seems the perpetrators were not like this, nor could they have expected anything but a smooth passage through life. Lack of prospects was certainly not what impelled them.
Adolescence is a turbulent time, of course, and some privileged young people in impoverished countries feel guilt at their own privilege (not that it prevents them from exercising it); revolutionary movements are often led by some sprig of the upper class.