If you want to run Windows 11, for whatever reason, you would have to bypass secure boot and TPM installing the OS. Not hard to do but then you're stuck with Win 11. The 5600g, with the appropriate motherboard, is future-proofed until Microsoft comes up with some other harebrained security scheme. Some mobo vendors are turning TPM/SB on in the BIOS by default now, it won't affect Win 10.
There is no doubt the 5600g will be faster at everything but whether that will make a life and death difference for web and text based stuff, particularly if you have 16gb RAM, is up to you.
The 5600 is likely to have less RAM compatibility problems, especially if using a higher end chipset. Prices between X570 and lesser chipsets seem identical so I don't know why anyone would not look for an x570 board.
My two year old 3700x CPU died recently, never experienced CPU failure like that before. Its somewhere in the bowels of the AMD RMA system. Needing to get the machine up and running I got a 5700x on sale--the one generation difference in general throughput is obvious, but like all things you get used to what you have so doubtless it will seem "slow" over time.
I would go for the 5xxx series Ryzen if willing to spend for it.