Although there are terrorists, people still get the chance to go to school. People like Qasim help create oppurtunities.
When only about 36% of girls attend middle school, 46% of boys do. If this were to be compared to the U.S., nearly all boys and girls attend school.
185 million people live in Pakistan and less than 50% of children attend middle and highschool. Although about 10% of children attend college.
The location and the place truly affects these people the most in Pakistan. Since Pakistan is surrounded by so many dangerous countries and wouldn't consider itself a safe country either.
The country also has some separation, especially when East Pakistan (currently Bangledesh) tried to isolate itself from the rest of the country causing a Civil War (1971).