Overview
Johann Sebastian Bach composed the church cantata Wohl dem, der sich auf seinen Gott, BWV 139, in Leipzig for the 23rd Sunday after Trinity and first performed it on 12 November 1724. It is based on the 1692 hymn of the same name in five stanzas by Johann Christoph Rube, which is sung to the 1628 tune of Johann Hermann Schein's "Machs mit mir, Gott, nach deiner Güt". The topic of this chorale is child-like trust in God in defiance of enemies and misfortune.
Libretto
Wohl dem, der sich auf seinen Gott
Recht kindlich kann verlassen!
Den mag gleich Sünde, Welt und Tod
Und alle Teufel hassen,
So bleibt er dennoch wohlvergnügt,
Wenn er nur Gott zum Freunde kriegt.