The lyrics "even when your hope is gone move along and sing this song" are from "Always Look on the Bright Side of Life" by Eric Idle, featured in the 1979 film Monty Python's Life of Brian.
The song plays during the crucifixion finale, delivering satirical optimism. Its whistling melody and stoic lyrics ("For life is quite absurd / And death's the final word") became an unlikely anthem of resilience. The actual line is: "When you're chewing on life's gristle / Don't grumble, give a whistle / And this'll help things turn out for the best / And... always look on the bright side of life."
The quoted phrase appears to be a paraphrase of the song's general message rather than exact lyrics.