The other thing to do if you find yourself becoming negative or blackpilled is...
Every day, write down three good things that happened involving you (not just "good news" but something personal) the previous day, no matter how small or stupid they seem. Do this for at least three weeks. The point is to get you in the habit of searching for positivity in your life.
It has a lasting effect of making you a happier person.