Kabbalah 2 Samuel 16:10: Zohar & Reshit Chokhmah

וַיֹּ֣אמֶר הַמֶּ֔לֶךְ מַה־לִּ֥י וְלָכֶ֖ם בְּנֵ֣י צְרֻיָ֑ה כי [כֹּ֣ה] יְקַלֵּ֗ל וכי [כִּ֤י] יְהוָה֙ אָ֤מַר לוֹ֙ קַלֵּ֣ל אֶת־דָּוִ֔ד וּמִ֣י יֹאמַ֔ר מַדּ֖וּעַ עָשִׂ֥יתָה כֵּֽן׃ (ס)

Lalu raja berkata, “Apa urusanku dengan kalian, hai anak-anak Zeruya? Biarlah ia mengutuk demikian, sebab Yang Mahakekal telah berfirman kepadanya: Kutukilah Daud. Siapakah yang dapat berkata: Mengapa engkau berbuat demikian?”

Zohar

The text continues: “Build thou the walls of Jerusalem.” But has He then not built them already? Indeed, did He not begin to raise them at the time when He first began to be occupied with the building of the Temple? And if He has not built the walls, what need to say that He has not built the Temple? However, the Holy One, blessed be He, acts not as men. When human beings built the sanctuary here below, they first built the city walls for protection and then the sanctuary; but the Holy One will first build the Sanctuary and then, when He brings it down from heaven, and sets it in its rightful place, then “He will build the walls of Jerusalem”- the battlements of the Blessed City. Therefore David says first: “Do good in thy good pleasure unto Zion”, and then: “Build. thou the walls of Jerusalem.”
Tanya RabiBookmarkShareCopy

Reshit Chokhmah

And included in the correction of the attribute of peace is that one listens to embarrassing criticism and does not answer back, because since he denounced the attribute of peace he should accept the judgment of heaven with happiness. King David, because he sinned by Batsheva, accepted his punishment when Shimi ben Gera embarrassed him, and he said “let him curse, for God told him to” (Samuel II 16:11), and we was silent.
Tanya RabiBookmarkShareCopy