After securing the kingdom and addressing the nation's pressing physical needs, King David turns his attention to matters of the spirit and the honor of God. This shift in focus does not happen immediately upon his coronation. By this time, David has already successfully conquered Jerusalem and firmly established the City of David [מלבי״ם]. The nation has finished dealing with its basic survival and has appointed a king to lead and protect them. With these existential matters resolved, David recognizes that the moment has arrived to act specifically for God's glory [רש״י].
Before addressing the entire nation about his spiritual plans, David takes the preliminary step of consulting with his leadership. This detail fills in the historical picture, supplementing the parallel account in the Book of Samuel. It clarifies that David does not simply gather the masses right away; rather, he first seeks the counsel of his officials [מלבי״ם].
When assembling this council, David reaches out to individuals holding positions of authority [ביאור שטיינזלץ]. However, he does not gather every single officer indiscriminately. Instead, he carefully selects only the most elite and distinguished leaders from among them to participate in this vital consultation [מצודת דוד, רד״ק].