99% of games you can install in its own folder and run forever (thus own it forever) And like the other person said games you own on steam are there after they’ve stopped being sold if you already own it. I have a few that don’t exist in the store anymore.
Shit practices like devs replacing games with new ones is a lot harder to circumvent though.