Jerusalem captured or not?
Joshua 10:23,40—”This verse says that Joshua and the Israelites did capture Jerusalem, but Joshua 15:63 says they did not.”
They didn’t capture Jerusalem. In chapter 10, Jerusalem’s king led an army out to attack Gibeon, where he was killed by Joshua’s armies. Joshua destroyed the whole land as far as Gibeon, which doesn’t include Jerusalem. Later, in chapter 15 we find that the king-less Jebusites couldn’t be ousted from their city so the Israelites just made a truce and lived with them.