I’m glad to hear you were able to resolve it, although I am saddened to learn that you deleted your website in the process. Because there were absolutely ways to fix this without doing so.
One thing you could have done (and can still do now) is to setup Full SSL. By default, Cloudflare does HTTPS between visitors and Cloudflare, but HTTP between Cloudflare and your hosting account. WordPress gets very confused by that, which tends to cause redirect loops. Setting up Full SSL fixes that: