Numbers 14:34

34 You scouted out the land for forty days; your punishment will be a year for each day, a forty-year sentence to serve for your sins - a long schooling in my displeasure.

Numbers 14:34 In-Context

32 while your corpses will be rotting in the wilderness.
33 These children of yours will live as shepherds in the wilderness for forty years, living with the fallout of your whoring unfaithfulness until the last of your generation lies a corpse in the wilderness.
34 You scouted out the land for forty days; your punishment will be a year for each day, a forty-year sentence to serve for your sins - a long schooling in my displeasure.
35 "I, God, have spoken. I will most certainly carry out these things against this entire evil-infested community which has banded together against me. In this wilderness they will come to their end. There they will die."
36 So it happened that the men Moses sent to scout out the land returned to circulate false rumors about the land causing the entire community to grumble against Moses -
Published by permission. Originally published by NavPress in English as THE MESSAGE: The Bible in Contemporary Language copyright 2002 by Eugene Peterson. All rights reserved.