Setting your PlayStation 5 as your primary console ensures other users on that system can access your digital games and ...
You should deactivate your PS4 so it's no longer associated with your account if you are selling or giving it away.