Perhaps because Jerusalem was in neutral territory not allotted to any of the twelve rival tribes of Israel, David made it the capital of his newly formed kingdom and brought the most talented artisans, dedicated priests, magical poets and musicians, and the most formidable soldiers from each of the tribes to live in his city.
Jerusalem was neutral territory.