How to reinstall Safari on a Mac?
One thing that you could do is reinstall macos without removing personal files, or other applications. To do this, restart and hold ⌘ + R while booting. You should go into recovery mode then click reinstall macos, and follow the on-screen instructions. Should take 10 to 30 minutes.