As is always the case, Hashem forced Moshe to learn these important lessons and articulate them for future generations. From Moshe’s actions and arguments we learn not only how a leader must fight for his people, but how he must objectively think to ensure the best future for his people. Pirkei Avot enjoins us not to judge our friend until we are in his position. This is not only true with respect to circumstances and context, but with respect to his perspective and outlook as well. Only by trying to see things as another person sees them can we hope to accurately understand a situation and decide on an appropriate course of action.