The are lots of events in the narrative of God’s salvation that are unique. Like Jesus for instance: the aren’t lots of messiahs. Or the apostles. There are lots of disciples, followers, but only 12 apostles, just as God’s people are innumerable but the are only 12 tribes of Israel.
And the Israelites’ miraculous military conquest, which Moses tells the start of in this chapter, is in that category, a one off part of the salvation story. God was on their side, they embodied his timing and his judgment, like a natural disaster. They won every fight that God sanctioned, and left to their own strength, lost every one he didn’t.
My point is we can’t now say in every war “whose side is God on” and we can’t imply it was the winners. These wars were unique, and God actually hates most war.
So Moses witnesses, before he dies, and demonstrates for Joshua the new leader, the power of God that will deliver the holy land to them. But it is for land on the Egypt side of the Jordan. He can’t cross.
So we see God’s relationship with Moses as a powerful leader, but also God’s judgment on Moses flaws and the rebellion of the people because he can only be granted the sight of the promised land from a mountain overlooking it. Others will claim it.
One of the Bible’s most wistful moments, Moses looking at the promised land.
He probably revisited as he looked out the day he pretended to be God. As a prophet he was to speak God’s truth, but he took the opportunity of God giving them water to make it like his agency was part of the miracle, and he gave them a piece of his mind, not God’s.