I had problems with macOS Catalina and the "critical software update" error, so I had to restore my mac back to the factory setting High Sierra. But that still didn't solve the problem and the Mac still couldn't property start up. So I'm now using High Sierra in the safe boot mode. I was thinking that the touchbar might be causing all these problems and was hoping that by installing a windows system I can bypass the issue since it won't use the touchbar.