I've seen absurd scenarios where a 2 vs 4 is won by the 2, but generally, the team with the more people wins.
Let's talk value. You can generate more money by making a single last hit per minute than a leaver gives you passively (25 gold per minute for a single leaver), in fact, a leaver is comparable to the money aura one of the neutral rats has, which is unanimously agreed to be the worst passive skill Doom can copy in the jungle. In fact a teammate can even generate you more gold by being present, all they have to do is stack the jungle once every 3 minutes and done, they're far more valuable than a leaver.
But a leaver means you lost a teammate which means one less source of stuns and whatnot. You have less actionable manpower in return for that marginal amount of money. And that's just not comparable. Even an item-less Sven can stun your enemy core and buy you 3 seconds of free hits on them. You have to pay 6000 gold and use up a slot and lose the timed-opportunity to buy something else for that effect with items.
With more and more leavers, this becomes more complicated. Yes, each of you individually gets more gold. 66 gpm with two leavers. But, if you're at 3 and below players a problem occurs: The map becomes too big and wide for all of you. You don't have enough manpower. You become susceptible to ganks and splitpushes.
Allow me to elaborate: Dota is a game with three primary driving tactics in roughly a rock paper scissors disposition. Splitpushing beats Grouping Up, Grouping Up beats Ganking and Ganking beats Splitpushes. With 3 and less players you largely lose access to anything other than grouping up and pushing. Because if one person is told to defend or farm alone, they get ganked. If you try to push, you get enemies forming distractions elsewhere that you can't respond to without losing firepower.
Let's push as 3. You can still win a 3 vs 5. Enough items and spells to go around and maybe you blow someone up and make it a 3 vs 4. Easy win! Okay, but what about... You can win a 3 vs 4 + a splitpusher. But are you faster at winning a fight AND pushing than someone pushing solo unimpeded tho? And you can win a 3vs3 and push... before losing two towers against individual splitpusher solos either. You're now entering the realm of trading towers at a loss. But worse - the solos can even split a tower AND cut your wave behind you. Basically, they waste your time and take value, and next time, they'll do it better.
So, just tp someone back to deal with it? Or blink backwards? Congrats, now it's a 2vs4, or gasp a 3vs1. Kill them near your base? Your tp is on cooldown and you have to walk back to push with your other allies - oh oops, they'll revive in time to defend. No progress. How do they even know where you've been moving? Oh, right. They have 2 supports that can afford to ward and give vision instead of focusing hard on objectives.
The longer it goes, the worse for you. Take rosh? Lose a tower. Chase with two top into the jungle? Yeah they were in your triangle and top jungle taking turns shoving the other waves and are now at your Tier 3 lowering your future gold. You think you got a kill on two, but they pushed and got tormentor and now venomancer has something that will waste 2 seconds of your BKB that your leavers didn't even fully pay for a third of.
It's actually a good sign that you may believe a leaver impacts the team positively as that might mean the people you're playing with are just... Too bad at dota to strategize like this. But it should not, under any circumstances, be representative of higher tiers of play unless of someone lucks the shit out of what heroes they had. Ember Spirit, Nature's Prophet, Tinker, Old TA aghs, and a couple others can handle player deficits better than most. The 2vs4 won by the two? It was a Nature's Prophet and a Pugna microing the leavers, one of which was a naga who could push with illusions and sing to stall the 4. Luck played a gigantic part in that win.
It's weirdly also good that you see leavers with some frequency too, it means that the game didn't lump you with smurfs. Players leave game less often the more dota they play.