a long time Caleb was forty years old when sent from Kadesh-barnea to spy the land, and he was eighty-five at the conclusion of this war.
Joshua 14:10 And now, behold, the LORD has kept me alive, as he said, these forty and five years, even since the LORD spoke this word to Moses...
Almost thirty-nine years of this time were spent before Israel passed Jordan; which leave between six and seven for the term of Joshua's wars.
Joshua 11:23 So Joshua took the whole land, according to all that the LORD said to Moses...
Joshua 14:7-10 Forty years old was I when Moses the servant of the LORD sent me from Kadeshbarnea to espy out the land...