I must say that I have to agree with all of the above questions. Most people like using WordPress, but unfortunately, there all plenty of ways in which WordPress can get hacked.
Just like everything else, prevention is much much better than cure.
You can prevent WordPress hacking by following this list of essentials tips: https://www.dart-creations.com/wordpress/wordpress-tutorials/the-essential-checklist-to-prevent-your-wordpress-website-from-getting-hacked.html
Just to paraphrase the most important tips:
1. Make sure your WordPress is set to auto-update
2. Make sure all your plugins are kept updated to their latest versions (and use as few plugins as possible)
3. Limit accss to and login attempts on WP-Admin
4. Use a strong admin password.
If you do the above, you’ll already be very much safer than most WordPress blogs.