Numbers 33:38

Then Aaron the priest went up to Mount Hor at the command of the LORD, and died there in the fortieth year after the children of Israel had come out of the land of Egypt, on the first day of the fifth month.