Dachstein's hymn "An Wasserflüssen Babylon" was rapidly distributed—it was printed in Luther's 1545 "Babstsches Gesangbuch"—and spread to most Lutheran hymnbooks by central Germany. The hymn tune is Dachstein's best known composition. The melody of the hymn became better known than its text, through the association of that melody with Paul Gerhardt's 17th-century Passion hymn "Ein Lämmlein geht und trägt die Schuld". With that hymn text, the hymn tune of "An Wasserflüssen Babylon" was adopted as EG 83 in the Protestant hymnal "Evangelisches Gesangbuch". After the Sack of Magdeburg in 1631, during the Thirty Years' War, it was decreed that Dachstein's 137th Psalm would be sung every year as part of the ceremonies to commemorate the destruction of Magdeburg—"O Magdeburg, du schoene Stadt verbrunnen verstoert."; and, amongst Ashkenazi culture, there was also a Hebrew version of Dachstein's composition in the same period.