Aaron the priest climbed Mount Hor as the Lord had directed, and he died there on the first day of the fifth month, in the fortieth year after the Israelites had left Egypt.
Then the Lord told Moses, “Listen, you are soon going to die. Tell Joshua to meet you, and then both of you are to come and stand before me at the Tent of Meeting, so that I may appoint him as leader.” Moses and Joshua went to stand before the Lord at the Tent of Meeting.
The Lord told Moses, “You will join your ancestors in death, and these people are going to prostitute themselves by worshiping the foreign gods of the country they are entering. They will abandon me and break the agreement I've made with them.
There on the mountain you've climbed, you will die and join your people in death, in the same way your brother Aaron died on Mount Hor and joined his people.