The original words were written as a hymn by a schoolmaster and clergyman of the Church of England, the Reverend William Whiting. Reverend Whiting (1825 — 1878) resided on the English coast near the sea and had once survived a furious storm in the Mediterranean. His experiences inspired him to pen the ode, Eternal Father, Strong to Save.
In the following year, 1861, the words were adapted to music by another English clergyman, the Reverend John B. Dykes (1823 — 1876), who had originally written the music as Melita (ancient name for the Mediterranean island of Malta)” via Naval History and Heritage Command.