The phrase means "It's not easy to be happy when you are feeling bad." In French: [c'est pas facile d'être heureux quand on va mal] In English: It is not easy to be happy when one is feeling bad.