Swami Vivekananda said this quote

always keep your mind joyful; if melancholy thoughts come, kick them out.