Not for profit doesn't mean what you think it does. Teachers at not for profit schools earn a wage, just like at for profit schools. It means that the excess can be siphoned off to stock owners instead of being reinvested in the school.
Yes, but the excess isn’t siphoned away to random people. It’s paid to the investors in exchange for creating the school.