WordPress is secure enough that whitehouse.gov runs on it and zero-day vendors pay $100,000+ if you have an exploit for the core WordPress software. It's not "magically secure" though -- you wouldn't say that AWS is insecure because some people set it up wrong or use bad integrations.