PC can’t run anything

Hi I have a older pc built it a while ago. I got a I5 8600k, gtx 1060 6gb, 16gb ddr4 2666mhz, gigabyte z370p motherboard, and a 128gb ssd and 2tb hard drive. I haven’t been home for about 7 months and I’ve been trying to use my pc and it can’t run anything. It’s super slow and every game I try to play either crashes or freezes. Even games like csgo won’t run. Idk what the issue is. Temps looked good, cpu and memory usage is about 50% when running games, ran benchmark on gpu and it’s all good, did memory test and that’s good. I literally have no idea what the issue is. But it’s running super slow. Any ideas? Is the thing just too old and doesn’t run right anymore?