Unto the Lord; to the building of God's temple. So he showed his affection to God and his house, in preparing for it when he was not permitted to build it.
Related Commentaries of 2 Samuel 8:11
2 Samuel 8:11
11 Which also king David did dedicate unto the LORD, with the silver and gold that he had dedicated of all nations which he subdued;