The treasures of the Temple were accumulated over various periods by the nation's leaders, prophets, and military commanders. These prominent figures dedicated their personal property as well as the spoils of war to God. Among the key contributors was Samuel the prophet, who participated in battles and set aside portions of the captured wealth. Saul also dedicated resources for the future needs of the Temple, alongside the great army generals Abner and Joab.
Beyond these central leaders, any individual who wished to offer a gift to God could contribute to this growing collection. To manage the vast wealth, all the dedicated property and gifts were placed under the direct responsibility and protection of Shelomith and his brothers. As the appointed caretakers of the sacred items, it was their specific duty to receive these contributions directly from the donors and safely secure them within the Temple treasury [מצודת דוד, ביאור שטיינזלץ].