Bamidbar / Numbers 33:38 · Pshat
וַיַּעַל אַהֲרֹן הַכֹּהֵן אֶל־הֹר הָהָר עַל־פִּי יְהוָה וַיָּמָת שָׁם בִּשְׁנַת הָאַרְבָּעִים לְצֵאת בְּנֵי־יִשְׂרָאֵל מֵאֶרֶץ מִצְרַיִם בַּחֹדֶשׁ הַחֲמִישִׁי בְּאֶחָד לַחֹדֶשׁ׃
And Aharon the kohen went up to Mount Hor at the word of the Eternal and died there, in the fortieth year after the children of Israel came out of the land of Egypt, in the fifth month, on the first day of the month.
Pshat פְּשָׁט
Death by the word of the Eternal
The Torah names the day of Aharon's death: the first of the fifth month, the month of Av. The commentators ask what "by the word of the Eternal" means and what other dates are tied to this day.
Rashi: "by the word of the Eternal" teaches that Aharon (Aaron) died by a kiss. Rabbeinu Bahya: on the first of Av Aharon died, on the ninth of Av the Temple burned, and Moshe (Moses) died on the seventh of Adar of the next year. This is seen from the book of Yehoshua (Joshua): the people crossed the Yarden (Jordan) on the tenth of the first month, and before that were three days of preparation and thirty days of weeping for Moshe.
How Rashi and Rabbeinu Bahya explain it
Rashi By the word of the Eternal
It teaches that he died by a kiss.
Rabbeinu Bahya In the fifth month, on the first day of the month
This is the new moon on which Aharon passed away. And on the ninth of it the Temple burned, and the Torah with it. And on the seventh of Adar of the following year Moshe (Moses) our teacher passed away, peace be upon him. For it is written in the book of Yehoshua (Joshua) that the children of Israel crossed the Yarden (Jordan) on the tenth of the first month. Count back from it three days of preparing provisions and thirty days of weeping in mourning for Moshe, peace be upon him, and it turns out they ended on the seventh of Adar.
Takeaway
"And the people came up out of the Yarden on the tenth of the first month and camped at Gilgal" (Yehoshua / Joshua 4:19). "Prepare provisions for yourselves, for within three days you are crossing this Yarden" (Yehoshua / Joshua 1:11).
"And the children of Israel wept for Moshe in the plains of Moav thirty days" (Devarim / Deuteronomy 34:8).