@meddanponjevic When you were adjusting settings in the Control Panel, did you use TS4.exe or TS4_x64.exe to create the profile for Sims 4? The first is for the 32-bit, now Legacy Edition of the game; the second is the .exe the standard version uses. So any settings made with TS4.exe wouldn't apply to your game.
Having said that, you shouldn't need any special settings in the CP to make Sims 4 look a lot better than it does in your screenshots. Try playing in a clean user data folder: move your entire Sims 4 folder out of Documents\Electronic Arts and onto your desktop, and when you launch the game, a clean folder will spawn with no content. Don't add anything to it yet, and don't change any of the graphics settings; just see how the game looks in a new save, and let me know.
If you see the same jagged llines in a clean folder, please try playing in a clean boot:
https://www.windowscentral.com/how-clean-boot-windows-10
You'll also need to go through the Task Manager's background tasks list and close anything that isn't disabled. Certain apps, everything from MSI Afterburner to RGB apps, are sometimes still running in a clean boot, so it's best to check manually and end anything that doesn't absolutely have to be open. That includes any MSI software such as Dragon Center.