Sony's actually made an effort to get many newer games ported to PC, and Steam Deck verified.
Sony still has an incentive to sell hardware and keep games exclusive though. Unlike Microsoft, they don't control Windows and don't have an incentive to keep Windows the gaming OS of choice. Microsoft is also trying to push their own Xbox Game Pass and get users gradually away from Steam.