I tend to prioritize story over gameplay, even with games with good gameplay.
For example, I want to experience the story of Hades and I enjoy actually playing the game, but whenever I run out of people to talk to in the hub I'm always like "ugh, time for another run". I get over it quickly, but still. lol
So this is why text-heavy games greatly appeal to me, since the story tends to not be separated from the gameplay in those kinds of games, or at least not as often. The Ace Attorney series is my favorite game series ever, as an example.
Games with bad stories leave an overall worse taste in my mouth, too. To this day I still despise Metroid: Other M and Paper Mario: Sticker Star. I'm much more willing to forgive games with bad gameplay as long as the story was entertaining enough.