For what it's worth, in 2019 a majority of people voted for parties other than the Tories. They received 43% of the vote, and their leader at the time was Boris Johnson.
The last two Prime Ministers weren't elected by voters, though I suppose you could argue that the majority of voters didn't elect Boris either.
The comments I'm seeing saying something like "well you voted for this" are incredibly misguided. We have a fucking terribly archaic voting system that doesn't serve us at all, there are several large pushes throughout the UK trying to change that.
First past the post has to go. I believe it's the most important issue in our country right now, because it's stopping us from dealing with the actually important issues. To wit: we're debating sending 100 refugees or less a year to Rwanda as a matter of the utmost urgency while the world is catching fire, in any metaphorical sense you care to mention. Geographical concentration of voters should no longer confer political power where the open internet exists.
There are two problems with the urgent need to change this broken broken system though: 1. I don't know what better to replace it with, and 2. I don't have enough faith in the British public anymore to actually agree on the more important issues once it's gone.
Side note: the argument doing the rounds about "but the far right will get in" is irrelevant because our last two home secretaries have been irreconcilable, despicable far-right headbangers. They're already in.