King James Version (KJV)
And David said, Whosoever smiteth the Jebusites first shall be chief and captain. So Joab the son of Zeruiah went first up, and was chief.
Modern English
And David said: Whoever strikes the Jebusites first shall be chief and commander. And Joab the son of Zeruiah went up first, so he became chief.
Hebrew
וַיֹּ֣אמֶר דָּוִ֗יד כָּל מַכֵּ֥ה יְב֛וּסִי בָּרִאשׁוֹנָ֖ה יִהְיֶ֣ה לְרֹ֣אשׁ וּלְשָׂ֑ר וַיַּ֙עַל֙ בָּרִ֣אשׁ֣וֹנָ֔ה יוֹאָ֥ב בֶּן צְרוּיָ֖ה וַיְהִ֥י לְרֹֽאשׁ׃
vayoʾmer daviyd kal makeh ybvsiy bariʾshvonah yihyeh lroʾsh vlshar vayaʿal bariʾshvonah yvoʾab ben ṣrvyah vayhiy lroʾsh