I dont know whether this is a good question or not. But seriously why should i learn raw code and not just learn wordpress to make the website i want? what are the pros/cons of both?
This has been answered many, many times on the forum, but if you just want to publish a blog, or you want simple website you can update, and you can find a theme you like that fits your needs, WP is fine. If you want to change anything or build anything that isn’t the above, just knowing how to press buttons in the WP UI is probably not enough.
If you literally just want a very simple website that’s just for you, so that you can publish things you write to the internet at large, you don’t need to learn to code anything, just sign up to WP and publish things.