כי לא אתן לכם מארצם - וכן כתיב במואב: אל תצר את מואב וכן בבני עמון: אל תצורם - כל האזהרות הללו הוצרך משה להודיע עכשיו פן ירך לבבם לאמר אם רצון הקב"ה לתת לנו נחלה ויכולת בידו למה לא הוריש לנו אלה האומות שעברנו דרך עליהם?! לכך הודיעם עכשיו שהקדוש ברוך הוא לא חפץ בדבר, שהרי נתנה הקב"ה להם ככתוב בכלם: כי לא אתן לכם מארצם, similar warnings had been issued in respect pf the Moabites and their land the Ammonites and their land (compare verses 9 and 19). Moses had to mention all these warnings now so that the people would not become fainthearted and say that if G’d had wanted to give their land to us and He had been able to, why did He not first let us conquer the lands which were in our path instead of making us detour around these countries? Moses told the people that G’d did not want that these peoples be deprived of their lands.
כי ירושה לעשו נתתי את הר שעיר כי לבני לוט נתתי את ער ירושה - וגם בעמון: כי לבני לוט נתתיה ירושה - לכבוד אברהם שקרוביו היו. כי ירושה לעשו נתתי את הר שעיר, whereas Har Se-ir had been assigned as ancestral land to the descendants of Esau, the Ammonites and Moabites had been assigned their land as a courtesy to Avraham to whom they were related biologically. Moses also wanted the people to understand that seeing that G’d was so concerned with distant relatives of Avraham, how much more concerned would He be about the direct descendants of Avraham, Yitzchok and Yaakov, i.e. the Israelites! He would most certainly keep a promise made to these patriarchs in the form of an oath.