I believe it is from William Cowper's Light Shining Out of Darkness (1779). God moves in a mysterious way His wonders to perform He plants his footsteps in the sea And rides upon the storm. Edie in Maine