Why country Pakistan was named Pakistan?

Pakistan is combination of two words "Pak" and "Stan" which means "Pious" and "Land of People" respectively. So, word Pakistan means Land of Pious People. So, it is supposed to be land of good people.