This system is the Martingale system. If your team loses, the next game you double your bet. If they lose again, you double your bet again, and so on, until your team wins. You eventually win all your money back plus the original bet. If the losing streak is long enough you would eventually go broke before you could make your money back. For example, if your initial bet was $2, and the team lost, the next bet would be $4, then $8, $16, $32, $64, $128, $256, $512, $1024, etc until the team wins, then you go back to $2.
The problem with this system is that if you bet every team, you have to hope none of them ever go through a 10 plus game losing streak or you could be dropping your life savings on one game.
It only works in theory if you have infinite wealth to begin with, in which case, why bother betting $2 a game.