The earliest extant hymnal in which it appears is that of Andrew Rauscher (1531), but it is supposed to have been in Joseph Klug's Wittenberg hymnal of 1529, of which no copy exists. Its title was "Der xxxxvi. Psalm. Deus noster refugium et virtus". Before that it is supposed to have appeared in the Hans Weiss Wittenberg hymnal of 1528, also lost. This evidence would support its being written between 1527 and 1529, since Luther's hymns were printed shortly after they were written.