and ate and drink before Yahweh on that day with great gladness. They made Solomon the son of David king the second time, and anointed him to Yahweh to be prince, and Zadok to be priest.
So David is, has told of his own commitment and now he's challenging them for a commitment of giving to God. "This is what I have done. This is what I propose to do. Now who of you are willing to offer your service unto the Lord?"