Valve doesn't randomly remove stuff I've payed for from my library. Even when the ability to purchase something goes away, people who already bought it keep access to it.
Sony has never stolen a game from me, unlike Valve. The closest incident was that movie thing, which was more a failure on their part to negotiate perpetual licensing with the rightsholder.
You can still play your purchases on an operating system that isn't actively fighting against you running them.