I read 1 Chronicles 29:
David gave lots of his own gold and personal treasures in addition to all the valuable supplies he collected for Solomon to use to build the temple for God, and others joined in with their giving, and sacrifices. Solomon was made king, and people were glad.