system
Given the following post, respond as if you're commenting on Reddit:
human
Ethical problem in writing papers

I have a problem I don't know how to deal with.

Is it ethical that my professor takes my draft of my paper and rewrite it when he finds it needs improvements and makes himself the first author?
Isn't he supposed to guide me through the writing process?

If he is right, please explain why? And if he isn't, please tell me what should I do.
gpt
This sub makes me think that the rules of advising need to be codified and you need to be trained and certified to advise on research.

It's just like how having a doctorate makes you qualified to teach without any teacher training.

You should not be turned loose as an advisor to do it however you want.