Bamidbar / Numbers 8:19
וָאֶתְּנָה אֶת־הַלְוִיִּם נְתֻנִים לְאַהֲרֹן וּלְבָנָיו מִתּוֹךְ בְּנֵי יִשְׂרָאֵל לַעֲבֹד אֶת־עֲבֹדַת בְּנֵי־יִשְׂרָאֵל בְּאֹהֶל מוֹעֵד וּלְכַפֵּר עַל־בְּנֵי יִשְׂרָאֵל וְלֹא יִהְיֶה בִּבְנֵי יִשְׂרָאֵל נֶגֶף בְּגֶשֶׁת בְּנֵי־יִשְׂרָאֵל אֶל־הַקֹּדֶשׁ׃
And I have given the Levites, given to Aharon and his sons from among the children of Israel, to do the service of the children of Israel in the Tent of Meeting and to atone for the children of Israel. And there shall be no plague among the children of Israel when the children of Israel come near the holy place."
Pshat פְּשָׁט
Five times by name
Rashi: this verse says "the children of Israel" five times to show how dear they are, by the number of the five books of the Torah. The Levites are there so that the people do not come near the holy place and no plague strikes. Haamek Davar: the Levites also teach the one standing by the offering how to stand in the Temple, since he is not used to it.
How Rashi and Haamek Davar explain it
Remez רֶמֶז
Five and five
Kitzur Ba'al HaTurim: the five times "the children of Israel" in the verse match the five parts of the people: kohanim, Levites, Israelites, converts and freed slaves. Rabbeinu Bahya: five mentions for the five books of the Torah, for the world was created with the letter hei (ה), whose numerical value is five.
How Kitzur Ba'al HaTurim and Rabbeinu Bahya explain it
Drash דְּרָשׁ
The father who asks about his son
Midrash Tanchuma: Moshe (Moses) asks why all the commands are only about the children of Israel. The Eternal answers: they are dearer to Me than all the nations, and so in our verse they are named five times. Rabbi Shimon bar Yochai: it is like a king who gave his son to a tutor and keeps asking about him. So the Holy One, blessed is He, longs to mention Israel all the time.
How Midrash Tanchuma explain it
Sod סוֹד
A good eye
Kedushat Levi: the one who is chosen is loved more than the rest. So that no one thinks that by choosing the Levites the Almighty stopped loving Israel, the verse names Israel five times. Shem MiShmuel: Israel gave the Levites a place, and this showed their good eye, a generosity that holds all qualities. It became their atonement.
How Kedushat Levi and Shem MiShmuel explain it