1 Chronicles 11:5

And the inhabitants of Jebus said to David, Thou shalt not come hither. Nevertheless David took the castle of Zion, which is the city of David.

Jebus was a fortified stronghold of the Canaanites situated on Mount Zion, whose inhabitants defied David and sought to bar him from entering. It was taken by the Hebrews under the leadership of Joab. After its capture Jebus was made the national capital of Israel and was called Jerusalem.