In 1859, Composer Charles Gounod took the Latin text of "Ave Maria" and fastened it to a version of Bach's "Prelude No. 1 in C Major." They went together like a plug going into an outlet. And the result was pure electricity. A masterpiece.
About that same time, more musical magic was afoot. Someone had the happy idea of taking a poem by LDS writer W.W. Phelps and wedding it to a melody by classical composer Felix Mendelssohn.
The result was a marriage made in heaven. The sacrament hymn "O God, the Eternal Father" is a miracle.