Yes, good clean power is important & sometimes hard to diagnose. I just worked on a PC that had issues booting up & would sometimes shut down for no reason. It turned out that the UPS was the problem. I've also worked on a few PCs with various intermittent problems that were caused by the surge protector.
Those took me forever to figure out because the surge protector is something that I never thought of because I was so focused on the PC itself. I know better now & will definitely pay more attention to what the PC is plugged into.