When composer Joseph P. Webster (1819–75) arrived at Sanford Fillmore Bennett’s (1836–98) office, Bennett could tell right away that his friend had a lot on his mind. The two were songwriting partners, and the artistic relationship created a special bond.
“I had learned his peculiarities so well that on meeting him I could tell at a glance if he was melancholy, and had found that I could rouse him up by giving him a new song to work on.”
Trying to gain a little perspective, Bennett asked Webster if everything was OK. Webster replied, “It’s no matter. … It will be all right by and by.”
Bennett knew immediately that there was a song hidden somewhere in his friend’s response, saying the idea struck him “like a flash of sunlight.”
A Songwriting Duo Forms

Webster, who often went by the nickname “J.P.,” was a New Hampshire native who exhibited strong artistic interest from a young age. After studying with renowned 19th-century composers like George James Webb and Lowell Mason, he traveled the states performing as a concert singer.
However, the continuing, deteriorating effects from a case of bronchitis eventually left him unable to sing well. Determined to continue on his artistic journey, he gave up vocal training and turned to composing. His instrument of choice was the violin. During this time, he and his family also moved to Wisconsin.

The Beauty of Heaven
Only 30 minutes had passed from Bennett’s penning the lyrics to “In the Sweet By-and-By” to Webster’s setting a melody for the violin to the words. Before the two songwriters knew it, two of their friends had joined them in their office and were singing along. Bennett’s plan had worked. The new tune put a smile on Webster’s face—whatever ailed him minutes before became a distant memory.
The uplifting hymn celebrates heaven’s beauty and God’s powerful love. Shortly after being published in 1868, the song became a gospel standard in Christian churches.
Today, the song has been covered by various country artists including Glen Campbell, Loretta Lynn, and The Oak Ridge Boys. The sweet tune can also be heard in classic films such as Clint Eastwood’s “The Outlaw Josey Wales” and in musicals like “A Prairie Home Companion,” which is loosely based on a former, popular radio show by the same name.
The Salvation Army has also contributed to the tune’s enduring legacy, using it for many of its official events and services.
Though the song took less than an hour to create, “In the Sweet By-and-By” has endured through the decades. What began as a musical exercise to comfort a friend remains an integral part of hymnals throughout America.