You notice Moses did not say anything else about God not allowing him to enter the Promised Land. He did not complain or weep about it. Moses knew why God did not allow him to enter there.
In Numbers 27:13-14, God told Moses he would be punished for He was being punished by God for not honoring Him as holy at the waters in the Desert of Zin. In this desert, the Israelites complained about not having water. The LORD told Moses to speak to a specific the rock and water would gush out from it. Moses chose to strike the rock, berate the people, and did not give God the glory for the miracle and providing the Israelites with water.
We note in Deuteronomy 3:25-27 Moses asked God to allow him to go over to see the land. The LORD stood firm on His punishment of Moses. The next time we hear from Moses about this subject is right before his death in Deuteronomy 31.
Moses had seen God at work - His might, provision, love, and protection. He had seen God's patience tested with the Israelites. Moses was tested by them. Because he knew God, knew He is holy and righteous, and knew he was wrong and deserved punishment, he did not challenge God's judgment. Moses had been blessed by God. Pharaoh raise him in Egypt and educated him by the best teachers to be a leader in Egypt. Moses stood up for his people when the Egyptians oppressed them. As a shepherd, he acquired a personal relationship with the LORD God and learned how to lead people God’s way. As the LORD's chosen leader of the Israelites, he saw God's power and might in action to bring them out of Egypt and provide for them. Moses could not argue with God's judgment of his actions in Numbers 27.
Moses expressed in Deuteronomy 31 he had a very long life. He knew the LORD would soon come for him. Moses called forward the man God appointed to be his successor and introduced him to the Israelites. He heralded in the future of the Israelites and gave credit to God with his obedience at the end.
How many of us can say we would accept God's judgment of our wrongs as quietly as Moses did? How many of us would willingly and graciously usher in the next leader and God-anointed person?
We need to get to a point where we recognize the holiness of the LORD God and listen to and obey Him because of Who He is. When we do that, we will sin against and offend Him less. When we disobey, because we recognize God's holiness, we can accept with grace God's punishment while at the same time recognizing, as Moses did, God's recognition of good service to Him.
Yes, we will all sin and be punished by God at some time during our lives. Maybe more than once. Yet if we are children of God, we know the punishment is not for eternity. Jesus redeemed and saved us. We will be renewed and made holy and blameless. For now though, while we live on this earth, let us accept our justifiable punishment from God with grace and possibly, just possibly, lead more people to discover and accept the LORD God by our humble acceptance of His righteous judgment.
Will you accept that challenge? Will you accept God's righteous judgment on you for your fault/sin/error recognizing that He is holy and deserves honor and glory even when we deserve judgment and punishment?
God is glorious and majestic even when we are sinful. We will never take that away from Him.
Give Him the glory even in receiving punishment.
It is for your growth and for His honor and the praise of His glory.