Not neccesarily
It may get more money from first party games.
But, if that means for example selling 5 million less consoles you have 5 million gamers less to sell accessories, get a 30% cut on every game or microtransaction, 5 million people less who can subscribe to PS+, who buy your hardware, and 5 million people that may get your game in PC instead of Steam and you will have to give 30% to Valve... and that's if those gamers don't decide to go buy a key in one of those web pages that are clouded piracy.
Let's do some numbers OK?
SONY has made 150 million dollars on Others software this quarter after the official data. That not only PC but also MLBA on Xbox and Switch, Destiny 2 on Xbox and Lego Horizon on Switch. If each PS new user generates IDK 500 dollars for Sony between hardware, accessories, PS+, FP and third party games, then a mere drop of 300k consoles in a quarter would be worse that what you earn on porting your games.