1 Chronicles 16:7

And that same time David did appoint chiefly to thank the LORD by Asaph and his brethren:

2 Samuel 22:1

And David spake the words of this song unto the LORD, what time the LORD had delivered him out of the hands of all his enemies, and out of the hands of Saul.

2 Samuel 23:1-2

These be the last sayings of David. David the son of Jesse said: and the man which is lifted up on high, the anointed of the God of Jacob and pleasant Psalmist of Israel said,

2 Chronicles 29:30

And Hezekiah the king and the lords bade the Levites to praise the LORD with the words of David and of Asaph the seer of visions. And the Levites praised that they rejoiced again, and the other stooped and bowed themselves.

Nehemiah 12:24

And these were the chief among the Levites: Hashabiah, Sherebiah and Jeshua the son of Kadmiel, and their brethren over against them, to give praise and thanks, according as David the man of God had ordained it, one watch over against another.

Psalm 12:1

{To the Chanter upon Sheminith, a Psalm of David} Help me, LORD, for there is not one godly man left: for the faithful are diminished from among the children of men.

Psalm 18:1

{To the Chanter, of David, servant of the Lord, which said unto the Lord the words of this song, on the day in which the Lord delivered him from the hand of all his enemies, and from the hand of Saul, and said} I will love thee, O Lord, my strength.

Treasury of Scripture Knowledge

Summary

Then on that day David delivered first this psalm to thank the LORD into the hand of Asaph and his brethren.

Bible References

On that day

2 Samuel 22:1
And David spake the words of this song unto the LORD, what time the LORD had delivered him out of the hands of all his enemies, and out of the hands of Saul.
2 Samuel 23:1
These be the last sayings of David. David the son of Jesse said: and the man which is lifted up on high, the anointed of the God of Jacob and pleasant Psalmist of Israel said,
2 Chronicles 29:30
And Hezekiah the king and the lords bade the Levites to praise the LORD with the words of David and of Asaph the seer of visions. And the Levites praised that they rejoiced again, and the other stooped and bowed themselves.
Nehemiah 12:24
And these were the chief among the Levites: Hashabiah, Sherebiah and Jeshua the son of Kadmiel, and their brethren over against them, to give praise and thanks, according as David the man of God had ordained it, one watch over against another.