When I was a broke-ass college student I pirated a lot of things. When I started working properly and finally had my own means, I started buying basically everything. Then the post-covid world brought a lot of changed to my life and income and I'm a little back on the piracy train.
There's a lot of factors, for me. If I want to support a product, I won't pirate it. I recently picked up Sea of Stars, because it's a small team indie title made with love, and it shows. Likewise, if I am on the fence about something for some reason, I may "demo" it first and if it keeps my attention, I'll end up buying it.
Sometimes there's past experiences that keep me off of some games. I strictly won't buy Ubisoft's PC releases, and haven't played an Assassin's Creed game in years because of that. After every debacle with them, between uPlay, account issues and the performance/quality of their PC ports, they just don't deserve my money.