Pakistan is a United Nations member and offers its citizens many visa-free programs. Many people book their visas through these programs and never even realize they're not eligible for the program if they don't meet certain criteria.
One such eligibility criterion has a job in your home country. If you are not currently employed and your job is located in your home country, you are ineligible for the visa-free program.
Another criterion is being on a Student Visa. If you are attending school or working on a research project in your home country, you are eligible for the visa-free program. However, if you are already present in Pakistan but haven't been able to find work or attend school, your stay will be revoked, and you'll need to re-apply for a visa.