Numbers 27:15

And Moses spake unto the LORD, saying,

Moses addressed the Lord even as he submitted to God's decree that he would not enter Canaan. His speaking arose from concern for Israel rather than from thought of himself. He therefore asked for a leader to guide and care for the people after him. The prayer was an expression of selfless devotion to Israel and of concern for their welfare.