If someone else is writing it for you, it’s not stealing.
If you pass it off as your own work, it is lying, which is a sin.
It’s also not good for you. If you are a student, plagiarism is cheating yourself out of the opportunity to improve yourself. Getting a better grade is a very short-term gain. Developing the ability to think is worth much more, and will last for a lifetime. Do your own work, do it to learn, and do it to build character.