Allah said: "Therefore will the land be out of their reach for forty years: In distraction will they wander through the land: But sorrow thou not over these rebellious people.
qaala fa’innahaa muharramatun ‘alayhim ’arba‘iina sanatan yatiihuuna fii al’ardi falaa ta’sa ‘alaa alqawmi alfaasiqiina
((Their Lord) said) to Moses: (For this the land will surely be forbidden them) i.e. to enter it, after you called them wrong-doing folk (for forty years that they will wander in the earth, bewildered) they will be bewildered in the wilderness, confined in an area of seven parasangs, unable to get out of it or be guided to the right way. (So grieve not over) do not be saddened about (the wrong-doing folk).