וְיוֹסֵף֙ בֶּן־שְׁלֹשִׁ֣ים שָׁנָ֔ה בְּעָמְד֕וֹ לִפְנֵ֖י פַּרְעֹ֣ה מֶֽלֶךְ־מִצְרָ֑יִם וַיֵּצֵ֤א יוֹסֵף֙ מִלִּפְנֵ֣י פַרְעֹ֔ה וַֽיַּעְבֹ֖ר בְּכָל־אֶ֥רֶץ מִצְרָֽיִם׃
Yusuf berumur tiga puluh tahun ketika ia berdiri di hadapan Firaun, raja Mesir. Kemudian Yusuf pergi dari hadapan Firaun dan menjelajahi seluruh tanah Mesir.
Sforno
ויעבר בכל ארץ מצרים. In order to supervise the storage facilities in the cities and to organize matters. We find the prophet Samuel as traveling the length and breadth of the country instead of waiting for the people to come to him in Samuel I 7,16, וסבב בית אל...והמצפה, “and he made the rounds (annually), starting at Bet El and finishing at Mitzpah, his home.”
Or HaChaim
ויעבור בכל ארץ מצרים, he traversed the whole land of Egypt. This was in order to familiarise himself with all the fields, to gather information about where to establish silos, etc.