How long did it take Joshua to conquer Canaan?

Joshua 14
New International Version

Division of the Land West of the Jordan

14 Now these are the areas the Israelites received as an inheritance(A) in the land of Canaan, which Eleazar(B) the priest, Joshua son of Nun and the heads of the tribal clans of Israel(C) allotted(D) to them.(E)Their inheritances were assigned by lot(F) to the nine and a half tribes,(G) as the Lord had commanded through Moses.Moses had granted the two and a half tribes their inheritance east of the Jordan(H) but had not granted the Levites an inheritance among the rest,(I)for Joseph’s descendants had become two tribes — Manasseh and Ephraim.(J) The Levites received no share of the land but only towns to live in, with pasturelands for their flocks and herds.(K)So the Israelites divided the land, just as the Lord had commanded Moses.(L)

Allotment for Caleb

Now the people of Judah approached Joshua at Gilgal,(M) and Caleb son of Jephunneh(N) the Kenizzite said to him, “You know what the Lord said to Moses the man of God(O) at Kadesh Barnea(P) about you and me.(Q)I was forty years old when Moses the servant of the Lord sent me from Kadesh Barnea(R) to explore the land.(S) And I brought him back a report according to my convictions,(T)but my fellow Israelites who went up with me made the hearts of the people melt in fear.(U) I, however, followed the Lord my God wholeheartedly.(V)So on that day Moses swore to me, ‘The land on which your feet have walked will be your inheritance(W) and that of your children(X) forever, because you have followed the Lord my God wholeheartedly. ’[a]

10 “Now then, just as the Lord