MIDRASH TEHILLIM
1.....(24.1)
To David, A Song...
A.
Note that in the preceding Mizmor (23.1), the introductory phrase is - A SONG OF DAVID, while in this Mizmor it is - TO DAVID, A SONG. How to explain the different word order?
When David besought the Holy Spirit to rest upon him, he summoned it with the words of - The Song of David; but when the Holy Spirit came to him of its own accord, he said - To David, A Song.
B.
Our Masters taught, In the book of Tehillim, all the Songs that David composed apply either to himself or to all Israel.
Each Song that speaks in the singular, applies to David's own person, and each Song that speaks in the plural, applies to all Israel.
Wherever for the leader; with string music is used, it itroduces a Song which deals with the age to come. Wherever a Song of David is used, it denotes that David played on his harp, and that then the Holy Spirit rested upon him. But where it is said Unto David a Song, it denotes that the Holy Spirit rested upon Davidm and that then he played.