No amount of telling yourself you're happy will make you happy. You can't just "make yourself happy", it's a side effect of other things you do in your life.
That said, there are people who use affirmations successfully to get out their misery. I dunno what to believe anymore
Doesn't help me feel better in that particular moment, but does let me know that later it will get better and there some context and comfort in that.
The Dalai Lama makes this point.