A Bosnian man saw that his hometown offered so few economic opportunities that many people turned toward violent extremism.