Why do parents in Pakistan waste money on educating their daughters?

Gandhi said somewhere that "when you educate a man, you educate an individual but when you educate a woman, you educate a family." I don't know if he took it from somewhere, but Rania came much later.