Betfair is peer to peer, so the house just takes a rake (similar to poker). This means it is hypothetically possible for both you and the house to win.
On Betfair the house is you. You determine the odds. Let's assume that cards are dealt randomly. If I know the exact probabilities of every outcome I bet on, and I always bet with odds which have a margin over those probabilities, then I win in the long run.
I'm a long-time poker player and recent political bettor. Gamblers routinely overestimate their edge or don't care whether they win. Often it's a mix of both.
A recent example. Even after it became apparent that Biden won the election you could still sell 10:1 bets on Trump to win, on betfair, to suckers which refused to accept reality or vastly overestimated the probability for Trump to sabotage the elections and/or stage a coup.
Consider the case of betting with a traditional bookmaker. The bookmaker lays (bets against) an outcome. You back (bet for) the outcome. Each party is betting against the other.
The don't. They place bets. If they place bets on the opposite odds that you do on the same bet, then they play against you (and you're competing for that).