I'm sure it was more complex than one group completely replacing another. The Israelites likely conquered some number of existing cities, enough to have a kingdom, but never could they completely wipe out a whole population.Canaanites continue all thru the OT. Even the Jebucites and Edomites were still in the picture.
They bought Jerusalem from the Jebucites but the Jebucites continued to live there. Joshua is a heroic national myth.. They didn't have any large powerful armies. They've just embelished their history. Solomon had no mines.. They were Egyptian mines that were taken over by the Edomites.
Tell us master where was good old Abe from?Abraham was from Turkey ???
Did Joshua and Moses exist ??
Maybe David was just a tribal chief