Thanks for asking a question on thisisyourbible.com.
This line, which you have not quoted quite correctly, is not from scripture but rather from a famous hymn written by William Cowper near the end of the 1700s. Here is the first verse:
God moves in a mysterious way
His wonders to perform;
He plants His footsteps in the sea,
And rides upon the storm.
I hope you have found this helpful.