The point isn’t whether the players are competing with the DM.
you've made it abundantly clear you believe this, and then double down by following it up with:
there’s two people playing a game and one person can just screw over the other whenever they feel like it.
the DM is not there to 'screw over' the other players, and the players aren't there to 'beat' the dm.
Have you ever actually played a TTRPG?
I'm beginning to wonder if anyone would even sit at a table with you.