Joshua 14:7
7 I was forty years old when Moses the servant of the Lord tsent me from Kadesh-barnea to spy out the land, and I brought him word again as it was in my heart.
Joshua 14:10
10 And now, behold, the Lord has kept me alive, xjust as he said, these yforty-five years since the time that the Lord spoke this word to Moses, while Israel walked in the wilderness. And now, behold, I am this day yeighty-five years old.