"Hax" = bad luck; unfavorable RNG rolls.
If you're losing more than you like, review your losses and see what you're losing to. If you're a beginner I suggest just using really standard stuff so you familiarize yourself with the game first and can start building teams on your own. It's a slow process, but it'll help you get better.
Also, don't complain. Seriously. Especially when it comes to the "everyone uses the same Pokemon!!" thing. Every successful player finds ways to exploit the metagame, and while no more than a couple stuff is mostly their own creation, this is simply the nature of a competitive environment. People use good stuff to win. So, if you want to do well, do the same thing. It would be chaotic if every team was wildly different; you wouldn't even know how to build teams, because, well, what would you know what to plan to beat?
The RNG also doesn't hate you more than anyone else. If you actually went out and counted the number of times an unlikely event happened in your matches, and those anomalies happened against you most of the time, you're doing something wrong. If you continuously let your opponent attacks you of course you're going to get crit and flinch and frozen more than you yourself will. It's part of controlling hax.
Here's an example. You have a Rotom-W at 1 HP and an Aerodactyl also at 1 HP. You're facing a Charizard Y, also at 1 HP. The speed tiers here are Aerodactyl > Charizard > Rotom-W. So, you go for the Rock Slide... And miss! Charizard then fires off a Heat Wave, KOs both your Pokemon, and you lose the game. It's easy to complain that you lost the game because of hax, but if you look closer, you would have turned a 100% chance to win into a 90% chance. The right play there would have been to Tailwind + Protect. You'll probably lose Aerodactyl, but you ensure Rotom-W can outspeed Charizard and KO with a 100% accurate Thunderbolt.
tldr; stop complaining and practice, practice, practice