2 Samuel 5:6

Now the king and his men marched to Jerusalem against the Jebusites who inhabited the land. The Jebusites said to David: “You will never get in here. Even the blind and lame can repel you.” For they thought, “David cannot get in here.”
BSB · Berean Standard Bible
And the king and his men went to Jerusalem unto the Jebusites, the inhabitants of the land: which spake unto David, saying, Except thou take away the blind and the lame, thou shalt not come in hither: thinking, David cannot come in hither.

Note thinking…: or, saying David shall not, etc

KJV · King James Version
The king and his men went to Jerusalem against the Jebusites, the inhabitants of the land, who spoke to David, saying, “The blind and the lame will keep you out of here,” thinking, “David can’t come in here.”
WEB · World English Bible
And the king and his men went to Jerusalem against the Jebusites, the inhabitants of the land, who spake unto David, saying, Except thou take away the blind and the lame, thou shalt not come in hither; thinking, David cannot come in hither.
ASV · American Standard Version

Related passages

From the Treasury of Scripture Knowledge, grouped by the word they explain.

Jerusalem
Genesis 14:18; Joshua 10:3; Judges 1:8; Hebrews 7:1
the Jebusites
Joshua 15:63; Joshua 18:28; Judges 1:8, 21; Judges 19:10–12
Except
Jeremiah 37:10