It's for the best really.
Doesn't make any sense to just abandon a platform that's still thriving and profitable.
Hardware sales may be slowing down (Covid boost aside), but they're still making a killing off software.
Most of the games that they already had in development for the PS4 that were scheduled to release post-PS5 launch should be cross-gen since it would make the most sense to start the transitional phase of your user base onto the next platform while also milking the cow of your last platform for every last drop it's got.
That said, I do think they could have done a better job of giving the PS5 a stronger launch and giving their user base a bigger, more urgent incentive to make the jump. But, given the circumstances, I'm willing to cut 'em some slack.
Hardware Comparison Threads: