Joshua 24:29 New King James Version (NKJV)
Death of Joshua and Eleazar
29 Now it came to pass after these things that Joshua the son of Nun, the servant of the Lord, died, being one hundred and ten years old.
At the time of Joshua’s last year of life he assigned by lot the Promised Land to the tribes of Israel. At that time Caleb reminded him of the promise of Moses to give Hebron to Caleb who was 85 years old when this occurred. Josh. 14:10.
In Josh. 14:7 Caleb states he was 40 years old in the second year of the 40 years of wandering, thus he spent 38 years of his life in the wilderness. 85 years of age, minus 40 years, his age at the start of his wandering, equals 45 years; minus 38 years equals 7 years he was in the Promised Land.
Because Joshua was 110 years old when Caleb was 85, Joshua would be 25 years older than Caleb. Joshua 24:29 gives the age of Joshua as 110 years.