Numbers 14:33-34

33And your children ashall be shepherds in the wilderness bforty years and shall csuffer for your faithlessness, until the last of your dead bodies lies in the wilderness. 34 dAccording to the number of the days in which you spied out the land, eforty days, a year for each day, you shall bear your iniquity forty years, and you shall know my displeasure.’

Joshua 11:18

18Joshua made war fa long time with all those kings.
Copyright information for ESV