For most is about money though. No corpo dev is going to waste their years in trying to make quality content when some shitty gacha company just slaps new FOTM waifu, with FOTM prices to entice spending, and said gacha ends up earning way more than their "passion project" could ever hope to make.
Gacha games are a cancer, but one that won't stop as long as the game has better chance to earn money for devs as gacha, than non gacha one. Especially because for non-gacha to succeed, an actual effort has to be put into your game, while with gacha... I don't know. Slap generic boobzilla number #5680064, have her talk like she wants to suck mc off, but not really, just enough for a hook, and voila! It doesn't matter how much gameplay, story, writing, and everything about that game sucks. It's gonna earn in one month what top earning non-gacha games can't.
When non-gacha game flops, it's because it tends to be a shit game. When gacha game flops, it's only because it didn't print money. That tells you everything you need to know.