The only land he did not buy was the land the priests owned. They did not need to sell their land because the king paid them for their work. So they had money to buy food.
The king gave Joseph the name Zaphenath-Paneah. He also gave Joseph a wife named Asenath, who was the daughter of Potiphera, priest of On. So Joseph traveled through all the land of Egypt.
So Joseph made a law in Egypt, which continues today: One-fifth of everything from the land belongs to the king. The only land the king did not get was the priests’ land.
Remember, you must not make these people pay taxes of any kind: priests, Levites, singers, gatekeepers, Temple servants, and other workers in this Temple of God.
Surely you know that those who work at the Temple get their food from the Temple, and those who serve at the altar get part of what is offered at the altar.