Zemoxia25 You could uninstall and reinstall, but that may or may not fix anything. Instead, please create a new admin Windows account and try playing there. Make it local, as in, don't link it to your Microsoft account or any email address.
Before doing anything else, please set an exception in Avast for EADesktop.exe. Here's how:
https://crinrict.com/blog/2020/10/add-exceptions-to-anti-virus-programs.html#avast
Open the EA App, repair Sims 4, and set exceptions for TS4_x64, TS4_DX9_x64, and TS4_Launcher_x64, or the entire Bin folder they're in. Then try to play.
The idea here is that if permissions are broken in the old account, or there's some other user folder the game is trying to read that has an outdated mod or similar, the new account cuts through all of that. If the game works, the problem is in the old account. If it doesn't work, the problem is global.