create an out-group so they can control the in-group
That's not just the media. It's basically everyone in power. Media, politics, government, corporations... Everyone.
It applies to the Democrats too. Especially in the 2016 election, they managed to successfully make Republicans the out-group. But I believe that was hugely damaging to the country, it created a lot more division when what is really needed is unity to focus on the issues that most people can agree on.
Because here's the cold truth- there is a body of policies that probably 80% of Americans would agree on. Things like efficient government, ending government corruption, reducing corporate control over government and elections, reducing income inequality, etc.
To quote Dylan Ratigan's famous rant, the United States is being extracted. And I think most people would like to stop that extraction.
But no major candidate stands for that. Bernie did, but the DNC iced him out because their wealthy corporate donors didn't want Bernie.
And that in my opinion is why Trump won. Harris certainly didn't push any major message of radical reform, just a bunch of the usual 'help the middle class' talk. Trump may be terrifying, but he does push a message of radical reform and changing the system.
To write that off and say half the country is racist or misogynist is to avoid learning from this situation.