Ottoman wars in Europe
Alternatively, John M. Merriman writes that the hymn "began as a martial song to inspire soldiers against the Ottoman forces" during the Ottoman wars in Europe.