This chorale survives without text. The text that appears here is the one provided by editors of the Bach Gesellschaft Ausgabe (BGA).
Speculation regarding liturgical occasion: This setting possibly served as the 26th movement of the lost Mark Passion (BWV 247), using the 2nd verse of Wo Gott der Herr nicht bei uns hält by Justus Jonas (according to Smend). Other possibilities include the 3rd movement of the Mark Passion (using the 4th verse of Wo Gott der Herr) or the closing number to the Picander–Jahrgang cantata Kehret wieder, kommt zurücke for the 2nd Day of Christmas (Picander 6), using the 5th verse of Ach lieben Christen seid getrost, though Smend and Häfner consider these possibilities to be unlikely. (NBA III/2.2 KB, p.288 and III/2.1 KB, p.64)