In trying to produce water in the desert, Moshe hit the rock instead of talking to it, and therefore he was banned from entering the land. This is what we’re taught and it’s cited as one example of God’s capacity for severe judgment.  Abrabarnel rejects this explanation, insisting that so miniscule a sin does not befit such a harsh punishment. He claims that Moses was banned from entering the land because of his handling of the episode of the spies – and he brings thirteen proofs to support of his position. One of them is the verse: Against me (Moshe), too, the LORD was incensed because of you, saying, ‘You, too, shall not come there. Joshua son of Nun, who stands before you, he it is who will come there.