That's not true. Read about all the drama happening in Spain when an entity (the soccer league) decides to block all the Cloudfare IPs. You are stuck with no access to most websites behind Cloudfare, and that's a lot of them
Cloudflare does a lot more these days. You can run a JS app in Workers and any Linux app in a container. You can have them host your database and object storage.