So basically a couple of weeks ago I was trying to find an illegal pdf of a book(WH40K rulebook) online but I wasn't finding it easily. I ended up on this dodgy af website where it basically blank white, with an image of a soldier on it and a link. That was it. I knew the website looks massively suspicious and it was stupid of me to click on the link but I did anyway because I was desperate. I think I saw something download but nothing happened after that and I didn't see any extra file somewhere. I never noticed anything else suspicious on my MacBook after that. Yesterday I became so paranoid that someone was watching everything I was doing or something like that, that I decided to erase the hard drive. My MacBook is new so I didn't have anything important to save so I just erased it without backing anything up. I noticed after I reinstalled macOS that FileVault or something was on and it saved some files, would that matter? TL;DR I'm paranoid about a virus, decided to erase the hard drive, would that potentially have any effect is there was a virus?