You saw her bathing on the roof
Her beauty and the moonlight overthrew you
And he feels he needs to do this *now*, in preparation for the fight against שבע בן בכרי. The last rebellion, of Avshalom, was an inevitable consequence of his sin with Bat Sheva, and he needed to get that behind him.
{:he}
>וצריך לומר, שלפני שדוד יצא למלחמה עם שבע בן בכרי, רצה דוד לעשות חיזוק ובדק הבית בביתו שלו, שלא יהיה לשבע בן בכרי שום אחיזה וכח להתגבר על דוד מחמת חסרונות ופגמים שיש בבית המלוכה של דוד. והחיזוק היה על ידי הוספת קדושה וכבישת היצר, שעל ידי שתהיה לו ממשלה יותר על עצמו, תהיה לו גם ממשלה על אחרים להנהיגם בדרך הישרה. ולכן רצה דוד לחזק את יסודות הקדושה בביתו.
--משבצות זהב, שמואל ב כ:ג
But I would argue that David is wrong here. His תשובה is already complete; he has paid the price for his sin with Bat Sheva and Uriah. As we quoted in /Where the Penitent Stand>:
{:he}
> אשרי אדם לא יחשב ה׳ לו עון; ואין ברוחו רמיה׃
--תהילים לב:ב
>But happy, too, is he to whom, even if he has sinned, the L-rd need not ascribe iniquity when He decrees his ultimate fate....He is not deceived in his own mind about his true worth. He bears within his soul a conscience that acts as a stern, incorruptible judge.
--Hirsch Psalms, XXXII:2
There is no need for David to keep torturing himself over his sin. He needs to look forward, not back.
> [T]he War Office is always preparing for the last war.
--Winston Churchill, [_The Gathering Storm_](https://www.goodreads.com/work/quotes/350367-the-gathering-storm)
He's looking at this rebellion as a continuation of Avshalom's, part of the consequences of Bat Sheva, but this is different; it's not about David at all. It's about the conflict between the centralized control of religion and state, and the populism that would make all of כלל ישראל participants in their own country and עבודת ה׳. It's the battle between בית המקדש and עגל הזהב.
----
Returning to the impending civil war with שבע בן בכרי, I want to look at a פרק תהילים that expresses David's frustration with his enemies, how they attribute the worst possible motivation for his actions. All he wants to do is unite the country and build the בית המקדש. I feel a little guilty here, since I am part of the problem. I have been reading ספר שמואל in a way that makes David look like the villian in almost every story. I think it's the right way to read נ״ך, since נביאים only have a message when we're doing things wrong, but it adds up to a very negative picture. We need to spend more time in ספר תהילים to balance it out.
{:he}
>