6 Yoav came to the king in his quarters and said, “Today you have humiliated all your followers, who this day saved your life, and the lives of your sons and daughters, and the lives of your wives and concubines,
va-ya-VO yo-AV el ha-ME-lekh ha-BA-yit va-YO-mer ho-VASH-ta ha-YOM et p’-NAY khol a-va-DE-kha ha-m’-ma-l’-TEEM et naf-sh’-KHA ha-YOM v’-AYT NE-fesh ba-NE-kha u-v’-no-TE-kha v’-NE-fesh na-SHE-kha v’-NE-fesh pi-lag-SHE-kha
ו וַיָּבֹא יוֹאָב אֶל־הַמֶּלֶךְ הַבָּיִת וַיֹּאמֶר הֹבַשְׁתָּ הַיּוֹם אֶת־פְּנֵי כָל־עֲבָדֶיךָ הַמְמַלְּטִים אֶת־נַפְשְׁךָ הַיּוֹם וְאֵת נֶפֶשׁ בָּנֶיךָ וּבְנֹתֶיךָ וְנֶפֶשׁ נָשֶׁיךָ וְנֶפֶשׁ פִּלַגְשֶׁיךָ׃
19:6 Today you have humiliated all your followers
Yoav is upset that King David mourned his rebellious son Avshalom. Yoav had killed Avshalom, though King David had commanded that he be captured unharmed. King David is extremely angry that Yoav has disobeyed him. Rabbi Shlomo Aviner points out that in Jewish Law, any act of disobedience to the king can be punished by death. However, King David is more concerned with ensuring that the Kingdom of Israel remains secure and strong, and thus needs Yoav to remain as his leading general. However, before his death, King David instructs his son Shlomo to punish Yoav for having killed Avner, Amasa (II Kings 2:5) and, according to Radak, Avshalom. Shlomo tries Yoav for the murders and convicts him of violating the will of the king (Sanhedrin 49a), an act which itself is a danger to the People of Israel. Obeying the dictates of just rulers and governments is itself a religious act, as it allows for a strong, cohesive and just nation.