Rebuilding your PS5 database shouldn’t delete any of your data or progress. It makes the console more responsive and scans your drive for a new database. Unless your memory is corrupted, your saved progress, games, data, and setting should be intact.