Numbers 14:34

34 According to the number of the days in which you spied out the land, forty days, for every day a year, you shall bear your iniquity, forty years, and you shall know my displeasure."

Numbers 14:34 In-Context

32 But as for you, your dead bodies shall fall in this wilderness.
33 And your children shall be shepherds in the wilderness for forty years, and shall suffer for your faithlessness, until the last of your dead bodies lies in the wilderness.
34 According to the number of the days in which you spied out the land, forty days, for every day a year, you shall bear your iniquity, forty years, and you shall know my displeasure."
35 I the Lord have spoken; surely I will do thus to all this wicked congregation gathered together against me: in this wilderness they shall come to a full end, and there they shall die.
36 And the men whom Moses sent to spy out the land, who returned and made all the congregation complain against him by bringing a bad report about the land—
New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.