Check out this thread, its for S23, but also applies to other phones.
Totally understand! Most of the things are covered in that link. Posting some things that you should not forget.
If you use Google Chrome or Samsung Internet, ensure that the sync is enabled with Google and/or Samsung account. Same goes for Samsung Pass.
Dont forget to back up photos and WhatsApp data/media.