Joshua 14:10
So now, look, the Lord has preserved my life, just as he promised, these past forty-five years since the Lord spoke these words to Moses, during which Israel traveled through the wilderness. Now look, I am today eighty-five years old.
Numbers 14:30
You will by no means enter into the land where I swore to settle you. The only exceptions are Caleb son of Jephunneh and Joshua son of Nun.
Numbers 14:33-34
and your children will wander in the wilderness forty years and suffer for your unfaithfulness, until your dead bodies lie finished in the wilderness.
Joshua 11:18
Joshua campaigned against these kings for quite some time.