It's perfectly legal to take someone else's written work, rewrite the same content in the same order in your own words, then publish it with your name on it instead of theirs, all without telling them.
It would be right to first ask the original author for permission to use their work, then when they refuse, to keep them informed on what you do with their work, and mention their name somewhere in your version of their work.
It feels less wrong when, in the process of rewriting someone else's work, you begin to suspect that the original author is as fake as you are.
It feels completely wrong on all fronts when you begin to wonder whether the person paying you to do it is trying to circumvent copyrights as you initially thought, whether they also paid the original author, or whether a rival of your employer paid the original author.
The moral to be learned: there are a lot of opinions on the internet that should not be trusted, because someone paid the writers to have them.