Numbers 3:10-13

3:10 So you are to appoint Aaron and his sons, and they will be responsible for their priesthood; but the unauthorized person who comes near must be put to death.”

3:11 Then the Lord spoke to Moses: 3:12 “Look, I myself have taken the Levites from among the Israelites instead of every firstborn who opens the womb among the Israelites. So the Levites belong to me, 3:13 because all the firstborn are mine. When I destroyed all the firstborn in the land of Egypt, I set apart for myself all the firstborn in Israel, both man and beast. They belong to me. I am the Lord.”