Be aware that the error number you get is important in it’s whole length. If you have different code, your issue is different from this one
List with other codes can be found here: https://sims4.crinrict.com/eng/sims-error/initialization-errors/
More information about loading errors can be found here: Game won't start
This error is caused by the controlled folder access of Windows Defender.
Either turn it off completely or add Sims 4 as an exception.