Moses, Aaron, and the whole congregation of the Israelites did this for the Levites; just as Yahweh had commanded Moses concerning the Levites, so the Israelites did for them.
In context
18and I have taken the Levites in place of every firstborn among the Israelites. 19I have given the Levites as a gift to Aaron and his sons from among the Israelites, to perform the service of the Israelites at the tent of meeting and to make atonement for the Israelites, so that no plague will strike the Israelites when they approach the sanctuary.” 20Moses, Aaron, and the whole congregation of the Israelites did this for the Levites; just as Yahweh had commanded Moses concerning the Levites, so the Israelites did for them. 21The Levites purified themselves and washed their clothes, and Aaron presented them as a wave offering before Yahweh, and Aaron made atonement for them to cleanse them. 22After that the Levites came to perform their service at the tent of meeting, before Aaron and his sons. Just as Yahweh had commanded Moses concerning the Levites, so they did for them.