I have to play CS-Go and DOTA 2... and they annoy me to no end in pretty much every single possible way.
How do you handle games that just flat out piss you off?
This is really a general life advice question about how to deal with frustration. There are different strategies.
In my experience the most helpful is to pay attention to your own responses. You have to recognize when you're getting frustrated/annoyed/angry, and then think to yourself something like, "Ok, I'm getting mad because my teammates are constantly feeding. What can I do about it?" Then think about strategies like letting your teammate be bait, or politely asking your teammate to follow you on some more useful goal (if you speak Portuguese/Russian), or some other useful response to the situation.
If there is no useful response to the situation - say in CSGO someone got a crazy headshot on you as soon as you went around the corner, or someone landed a triple citadel on you in World of Warships at a crazy angle, or someone hit a one-outer in Hold'Em or Hearthstone - then you have to recognize, "There was nothing I could have done, so there's nothing to be mad about." Situations like this are rare in most games nowadays but undeniably still happen (last time I was in Vegas, I got all my money in pre-flop, heads up, while holding AA. My opponent had 22. He hit a 2. It just happens.) If you can't accept that sometimes you did the right thing but didn't win, then you need to spend some more time learning to reflect and controlling your emotions.
In the short run you can try something like just having a small token that is meant to remind you, "STOP. Don't get mad. Think." It can even be something like a coin or card that says "STOP" on it. Learning to do it is a process, and it's useful in life overall and not just in games.
DOTA 2 and CSGO aren't "bad" games, but sometimes you can learn that a game is a bad game by paying attention to what's frustrating and then realizing that the game is just random dumb bullshit (or that it has those elements). EU4 is like this with regencies, for example. Matchmaking can be that way in WoWS, for example. Once you're thinking about that, you can decide if the game is otherwise fun enough to put up with the parts of it that aren't fun. If your problems in DOTA 2 relate to playing solo matchmaking, then maybe you need to find more reliable people to play with.