Overview
"It Is Well With My Soul", also known as "When Peace, Like A River", is a hymn penned by hymnist Horatio Spafford and composed by Philip Bliss. First published in Gospel Hymns No. 2 by Ira Sankey and Bliss (1876), it is possibly the most influential and enduring in the Bliss repertoire and is often taken as a choral model, appearing in hymnals of a wide variety of Christian fellowships.
Background
This hymn was written after traumatic events in Spafford's life. The first was the Great Chicago Fire of 1871, which ruined him financially (he had been a successful lawyer and had invested significantly in property in the area of Chicago that was extensively damaged by the great fire). His business interests were further hit by the economic downturn of 1873, at which time he had planned to travel to England with his family on the SS Ville du Havre, to help with D. L. Moody's upcoming evangelistic campaigns. In a late change of plan, he sent the family ahead while he was delayed on business concerning zoning problems following the Great Chicago Fire. While crossing the Atlantic Ocean, the ship sank rapidly after a collision with a sea vessel, the Loch Earn, and all four of Spafford's daughters died. His wife Anna survived and sent him the now famous telegram, "Saved alone …". Shortly afterwards, as Spafford traveled to meet his grieving wife, he was inspired to write these words as his ship passed near where his daughters had died. Bliss called his tune Ville du Havre, from the name of the stricken vessel.
Original lyrics
When peace like a river, attendeth my way,
When sorrows like sea billows roll;
Whatever my lot, Thou hast taught me to know
It is well, it is well, with my soul.
From Wikipedia (CC BY-SA 4.0).