That applies to AAA games, where you make awful games for awful companies. Being an indie dev is great, and you can make millions by yourself if your game gets popular.
Recent example: "Megabonk" was made by a solo indie dev in a few months. It has reportedly sold around 2 million copies at $10 in 1 month.