Parsha Shiur Vaeschanan 2024
Hashem would not even allow Moshe to be buried in Eretz Yisroel. He told Moshe, if you are buried in Israel, only Jews buried in Israel would experience the revival of the dead when the time comes.
Sources
Devorim Perek 3 Pesukim 23 - 26
Midrash Rabba Devorim Parsha 2 Perek 9
Rashi on Pesukim 23 and 24
Commentery of Baal Haturim on Possuk 23
Midrash Rabba on Esther Parsha 7 Perek 13