While there are legitimate reasons to pirate certain media, Steam and GoG have great refund policies that perfectly serve this use case.
I use Steam, and recently refunded Stray for my stated reason to them that it’s way too scripted and linear for my tastes, and refunded Street Fighter 6 because I’m still not a fan of the movement in the franchise - they refunded me within the same day for both times.