What's your goal? If you want just a random site, then WP will do the job. If you want to learn web development, then I'd start it with a local http server (apache/nginx/whatever's your poison) and start writing html/css/js by hand, and see how it builds up line by line.
Look for a "static site generator". Bearblog and Hugo are popular ones. Then you can host your site anywhere and don't have to worry about security problems.
Bearblog is a service, not a static site generator one can use like Hugo.
From the Bearblog GitHub:
> Bear Blog has been built as a platform and not as an individual blog generator. It is more like Substack than Hugo. Due to this it isn't possible to individually self-host a Bear Blog.