Faith, hope and joy in the face of adversity is the theme of the old Quaker hymn How Can I Keep from Singing? It was written in the 1860s and then fell into obscurity, but the hymn enjoyed a popular revival 100 years later when folksinger Pete Seeger recorded it. Seeger omitted or modifed most of its overtly Christian references and popularized it as a protest song against the McCarthy era's anti-communist witch hunts. In the 1990s, Enya recorded a New Age version of it on her album Shepherd Moons and brought it to the attention of a whole new generation.
One of my favourite Canadian singer/songwriters, David Sereda, has recently posted his beautiful a cappella version of this hymn, which I just love. Here's the audio post, if you'd like to have a listen:
David Sereda's own songs are about gay life, pride, love and survival. I'm sure he intends a similar interpretation for the hymn's lines -- "When friends by shame are undefiled / How can I keep from singing?"