hmmmmmmmmm
uhhhhhhh

well
from the sparse information im getting it could a couple things
least likely is overheating but if you could get into bios it should have gave you a warning about temps if it was too hot
maybe
second is storages,maybe theyre dying o algo, third(tragic) is ram but you sayed thats ok
fourth is some faulty component, annoying to check but you would have to strip to bare mininum and add parts one by one to see when it dies
if all else fails then possibly just motherboard,maybe psu, you can check your mb for any blown capciters or algo but it could be damaged without physical signs

truly this is tragic i pray for your computers recovery in these horrible jewish greed time