I’m not sure what direction you need here.
David went to Jerusalem to conquer the Canaanites in the Siege of Jebus. He then sets up his capital there and it’s known as the City of David. Jerusalem had a good water source, and was easy defend because of the deep valleys that surrounded the city. Also, it was a centrally located for travelers and trading, and it was known as a holy city even then, with stories passed down through oral tradition.
Hope that helps.