Joshua 21:8 Midrash

וַיִּתְּנ֤וּ בְנֵֽי־יִשְׂרָאֵל֙ לַלְוִיִּ֔ם אֶת־הֶעָרִ֥ים הָאֵ֖לֶּה וְאֶת־מִגְרְשֵׁיהֶ֑ן כַּאֲשֶׁ֨ר צִוָּ֧ה יְהוָ֛ה בְּיַד־מֹשֶׁ֖ה בַּגּוֹרָֽל׃ (פ)

And the children of Israel gave by lot unto the Levites these cities with the open land about them, as the LORD commanded by the hand of Moses.

Read midrashic interpretation of Joshua 21:8: and classical rabbinic exegesis.