The senate is weird. It’s possible to lose seats even if your party gets more votes overall. 6 years ago was the Trump midterm so democrats did well. This meant a disproportionate number of senators up for reelection this year were either vulnerable democrats or safe republicans. So overall losing only 3 seats is not bad in that context.
Less than 50% of those who voted. And I doubt even all of those wanted Trump’s agenda, many either didn’t understand or didn’t believe he would do some of the things he says.
So I disagree that the country as a whole wanted this. Obviously most did not.