Part 1 of 2
The fact that Safari, Firefox, and Chrome all crash on certain websites makes it useful to determine whether the problem also occurs outside a normal macOS startup.
First, test the iMac in Safe Mode.
Since this is a 2019 Intel iMac, restart it while holding Shift until the login window appears.
Apple explains the procedure here: Apple — Start up your Mac in safe mode
Try several websites that normally cause the crashes.
If the problem disappears in Safe Mode, that provides evidence that something loaded during a normal startup may be involved.
If the crashes continue, connect the iMac temporarily to another network, such as a phone's Personal Hotspot, and test the same websites.
Apple also recommends checking VPNs, third-party security software, and network settings when investigating Safari problems. Apple — If Safari doesn't work as expected on Mac
Also run Apple Diagnostics by shutting down the iMac, turning it on, and immediately holding D.
Apple Diagnostics checks internal hardware but does not diagnose macOS or other software problems. Apple — Use Apple Diagnostics to test your Mac
Finally, save a crash report from Console >> Crash Reports or ~/Library/Logs/DiagnosticReports.
If you upload one here, we can examine it for the exception and components involved in the crash.
I would not reinstall macOS or erase the Mac until these tests have been completed.
Part 2 of 2
There are 4 Categories of Third Party Software / Services that are not needed
➡️. Get rid of them via the Developers Instruction ⬅️
In no special order
1 - Third Party 2 Way Firewalls
2 -Commercial VPNs
3 - Third Party Security Software
4 - Third Party Disk Cleaners / Optimizer