"Wär Gott nicht mit uns diese Zeit" (German: [vɛːɐ̯ ˈɡɔt nɪçt ˈmɪt ʔʊns ˈdiːzə ˈtsaɪt]; "Were God not with us at this time") is a Lutheran hymn, with words written by Martin Luther based on the Psalm 124. The hymn in three stanzas of seven lines each was first published in 1524. It was translated to English and has appeared in 20 hymnals. The hymn formed the base of several compositions, including chorale cantatas by Buxtehude and Bach.