The Lord is righteous in all His ways, and holy in all His works.@Psalm 145:17
Charles Wesley (1707–1788)

Charles Wes­ley, Hymns Oc­ca­sioned by the Earth­quake, March 8, 1750, Part 2 (Lon­don: Stra­han, 1750), num­ber 7.

Ryle James Mc­Gra­na­han, 1878 (🔊 pdf nwc).

James McGranahan (1840–1907)

Righteous, O Lord, are all Thy ways!
Thy judgments in the ancient days
On unrepenting sinners fell;
Thy wrath descended, in a flood,
On a whole world that knew not God,
And swept their thoughtless souls to hell.
Yet in the universal wreck,
Thou didst a kind exception make,
In favor of a child of Thine:
Thou didst for him an ark provide,
And safely with his household hide
The heir of righteousness divine.

Thou art in every age the same,
And when our crimes the vengeance claim,
And when our measure is filled up;
Thine anger yet again shall burn,
And force them who Thy mercies spurn,
To drink the bitter trembling cup.
Thou, Lord, out of Thy place shalt rise,
Open the windows of the skies,
To plague the people of Thine ire,
Thy flaming ministers employ,
And terribly at last destroy,
The wicked with a flood of fire.

Great God, if now Thy day is near,
Alarm us with a sacred fear,
And snatch from a devoted race,
A world, who, as Thy Son foretold,
Harden their hearts like those of old,
And live corrupt in all their ways.
They eat, they drink, they plant, they build,
Their hearts, with cares and pleasures filled,
No room can find for thoughts of Thee,
Till the last dreadful plagues commence,
And sweep their careless spirits hence
Into a sad eternity.

But wilt Thou not Thine own secure?
The men, who great distress endure,
And cruel mockings for Thy sake,
Who tremble at Thy tokens nigh,
And to the ark of mercy fly,
And Jesu’s wounds their refuge make!
Surely Thou wilt Thy word fulfill,
And give Thy cautioned people still,
Within the sacred ark to rest;
E’en now by faith we enter in,
And mount above the floods of sin,
Secure in our Redeemer’s breast.

Superior to the storms below,
The various storms of human woe,
Shut up in Christ we mount, we rise,
Buoyed by His mighty Spirit up,
Above the highest mountain’s top,
Above the ruined earth, and skies.
When earth and skies are all on fire,
We then shall mount divinely higher,
As by Elijah’s whirlwind driv’n,
Triumphant o’er the blazing flood,
The church, and family of God,
Our ark and we shall rest in Heav’n.