One interesting detail though: in 21:1, Satan is introduced! "And Satan stood up against Israel, and provoked David to number Israel". In other words, he asks David to make a head count. Why? No idea. Anyway, David obeys & organises a census; god is angry at him for it and "smites Israel". End of story. So why Satan? And why would he want to know the number of Israelites? And anyway, who is this "Satan"? He's never mentioned before. And asking for a census doesn't sound so infernal to me. One more pointless story joining the - by now countless - others. We only learn this is the reason god gives David his famous three choices (see XXI) of 7 years of famine, being hunted for 3 months or 3 days of pestilence (in Kings, the reason for god's anger wasn't disclosed - but then that's not saying much, as he generally doesn't need a reason to behave like a lunatic - he's god, remember). Recap of the whole silly pestilence story.
Also funny: god informs David that he is not worthy to build him a home as he waged too many wars and spilled too much blood. All piously & dutifully done in the name of god, obviously, so it's rather unfair to his own hero - but then, a schizophrenic killer like YHWH doesn't know the meaning of fair play. Anyway, Solomon, David's son, will have to build the house.
Weirdly, we go back now to a list of Moses' progeny, then Aaron's. Makes absolutely no sense.
Back to "let's build our god a home", we first get a list of all the workmen involved - a bit like the credits at the end of a movie: nobody ever reads it all but it's nice to know your name is in there somewhere. And as David knows "in his mind" exactly how the building should look, he has to explain the "patterns" to Solomon - if he got the information from god, this would seem rather devious though (once more, what's new), as god doesn't want "killer" David building his house in the first place because he's not pure enough. More whatever.
And as before, there's the classic bill at the end: the house of the lord should be BIG. It should be IMPRESSIVE. So… we need your money. And all "offered willingly", "with perfect heart". And there was much rejoicing.