34 For forty years—one year for each of the forty days you explored the land—you will suffer for your sins and know what it is like to have me against you.’

Read Numbers 14:34 Using Other Translations

After the number of the days in which ye searched the land, even forty days, each day for a year, shall ye bear your iniquities, even forty years, and ye shall know my breach of promise.
According to the number of the days in which you spied out the land, forty days, a year for each day, you shall bear your iniquity forty years, and you shall know my displeasure.'
“‘Because your men explored the land for forty days, you must wander in the wilderness for forty years—a year for each day, suffering the consequences of your sins. Then you will discover what it is like to have me for an enemy.’