This hymn has a deeply moving background and no doubt its roots have aided its popularity. It was written by New York lawyer Horatio Spafford whose family experienced much tragedy in their lives.