Now, behold, in my affliction I have prepared for the house of Yahweh one hundred thousand talents of gold, and one thousand thousand talents of silver, and of brass and iron without weight; for it is in abundance: timber also and stone have I prepared; and you may add to them.
Now David had his admirable points, but David also had his weak points. And David, for the most part, was a poor father. And as the result of the fact that he was a poor father, he had problems with his children. Now Solomon, in observing this and later writing the Proverbs, had many things to say about correcting children. That's one thing that David was very lax in, that was the correction of his sons.