Paul Gerhardt wrote the hymn “Commit Whatever Grieves Thee” based on Psalm 37:5, “Commit your way to the LORD; trust in Him, and He will act.” In German the verse is: “Befiehl dem HERRN deine Wege und hoffe auf ihn; er wird’s wohl machen.” Gerhardt structured the hymn so that the stanzas begin with successive words of that verse (he takes “dem HERRN” together at the beginning on stanza 2). It is one of the greatest hymn texts for reflecting on the Christian’s response to affliction and tribulation.
Johann Sebastian Bach included the present setting of this hymn in his St. Matthew Passion. We come to this part of the account of our Lord’s Passion: “And while He was being accused by the chief priests and elders, He answered nothing. Then Pilate said to Him, ‘Do You not hear how many things they testify against You?’ But He answered him not one word, so that the governor marveled greatly” (Mt. 27:12-14). And immediately following these words, the choir sings the first stanza of the hymn.