Music, including corporate singing, has many benefits. An example of music having a soothing effect is when David plays a lyre in the presence of King Saul when he is being tormented by a harmful spirit (1 Samuel 16:23). Music not only soothes our souls, but corporate singing actually aligns our minds and bodies too. “Hymns” as far back as Psalm 135 call for a communal type of worship. The ultimate purpose of hymns is to make known who God is and what He has done (Psalm 145:4, 10-12). Setting deep doctrinal truths to singable and memorable songs makes it easier to remember certain truths. The New Testament shows that Jesus and His disciples sung a hymn together in Matthew 26:30. In some of Paul’s letters, he encouraged churches to sing hymns, and he and Silas modeled the right attitude of joy in all circumstances by singing hymns while imprisoned (Ephesians 5:18-19; Colossians 3:16; Acts 16:25). Hymns help edify the congregation, reflect a believers’ joy in the Lord, and unite the congregation in glorifying God.
A hymn is a type of song used in Christian worship that is normally sung by the entire congregation. The word comes from the Greek word hymnos that simply means "song of praise," so any song that extols the attributes of any person, place, or thing could be considered a hymn. However, in popular vernacular, a hymn normally is metrical, has multiple stanzas, and communicates deep doctrine whereas a praise and worship song may be more repetitive and might focus more on expressing our own love or gratitude toward God than on communicating truths about who He is or how He has provided salvation. Both types of songs can be useful for churches.
The Bible book of Psalms is a collection of songs and poems, some that express human emotion and some that focus more on God's divine attributes. These Psalms have been used in corporate worship since biblical times and show the value of including hymns during worship.
Whether the hymn is ancient or contemporary, it should bring glory to God by declaring the truth of who He is and what He has done in a way that builds up the congregation into a more mature faith.