Victorian lyricists and singers were well aware of that discrepancy, and so were mankind of all generations, independent of any particular religion.
In order to achieve anything, humans need a positive spirit. Those who kill themselves for despair about the bad world are dead right, but dead.