Numbers 33:38

38And Aaron the priest went up a  Mount Hor at the command of the  Lord and died there, in the fortieth year after the people of Israel had come out of the land of Egypt, on the first day of the fifth month.
Copyright information for ESV