Peer review is a vicious and gruelling process, and many papers don't survive it; In science, ones peers are not a group of people with whom you would choose to hang out for a beer.
I didn't find the process either grueling or vicious. Yes the process is exacting. FU and you'll be told. However most papers usually go through several rewrites in the review process. "Topic OK but not communicating." "Rewrite with a little attention." "I know the second author knows how to write" ya da.
Sometime a reanalysis is recommended which can be a bit challenging. Once in awhile, like with my dissertation, some data is lost due to time between collection and writing or some other factor like like computer burp so standard analyses are not possible. Still there are ways to get the information out to the participating public like through a writer funded document, letters, and private communication, with normal peers.
Generally most peers are supportive of research in their domains. In hotly contested areas like neuroscience, genetics, medical biochemistry the competition is fierce. There one sees both fudged data and worthless disputes between factions. Fortunately most of us avoid such. I don't see how fractious competition can exist given the emerging requirement in many areas for large teams of scientists on given projects due to cost of resources or access to assets and the like.
Everybody here knows I'm not a gifted writer. In fact my masters took over 40 rewrites and an editors intervention to put me on a coherent communication path. It's also why one sees most of my articles has a co-author. Most of us know its one thing to see paths to new knowledge and quite another to communicate it once generated. Still there are those who are great at both.
Bottom line, Peer review is necessary, has strict requirements, is a legitimate filter of knowledge, Yet it's participants are usually very willing to both do the research and to help good research to reach the light of peers.
I only dispute your characterization that it is a cruel process. Also I've shared a drink with most of those who've judged my professional work. I've even designed invited and lead area reviews in workload and flight deck pilot centered design. I've also been selected to and participated in field reviews. Those were for flight displays, ergonomic design, overview of acoustic factors in workspace and in aging worker factory workspace and tool design.
Can't do those things if everybody is out to get you. Although there was this government masters degree promoted to area lead individual who carped at every method that was different from those her group recommended. Not a pretty thing to see in a high finance military design gate keeper. You see I am aware there are such as you feel as the norm who exist. They're just not the norm.