@eemiliak No, that's not supposed to happen. But I suppose it could if the underlying reason Origin keeps repairing is that an essential file for Sims 4 (for example, TS4_x64.exe) keeps getting corrupted or deleted. Without that file being present, the EA App might not see the game as installed at all.
The good news is that if you install to the same location as before, the EA App might see the existing program files and only download what's missing. But if that doesn't help, I'd still suggest reinstalling the game to a new folder as the next step.
And look, I've asked you about an antivirus twice now and you haven't answered me. I'm trying to help here, but I can't do that as effectively if you won't give me all the relevant information. This is exactly the kind of problem that a few different antivirus programs have been causing for two years now. And if that's the underlying cause here too, you likely won't be able to solve the issue, at least not permanently, without addressing it. So you'll just be wasting your time and mine.