In general, don't hesitate to uninstall any of your games to free up space for a newer one, since the game stays yours and you can reinstall it whenever you wish. Any games you purchased digitally are linked to your account and can be downloaded again from the Xbox Store when needed.
This also applies to your save files. Your Xbox Series X/S save files are automatically backed up on the cloud (as long as you are connected to the internet) and reinstalling the game means it comes back with all its old saves. There is one real caveat: the option to delete save files everywhere. If you choose that option under "Manage game and add-ons", it will remove the save files from your console and the cloud. So make sure only to use that option if you really want to remove all your save files for good.