Though the author may pretend otherwise, the author's point of view is larger than the character's and includes knowledge the character lacks. This means that the character, existing only in the author's knowledge, may be known as we cannot ever know any actual person; and such insight may reveal insights and durable truths relevant to our own lies.
To fuse author and character - to limit the character's behavior to what the author approves of doing, or the character's opinions to the author's opinions, and so forth - is to lose that chance of revelation.
The author's tone may be cold or passionately concerned; it may be detached or judgmental; the difference of the author's point of view from the character's may be obvious or concealed; but the difference must exist. In the space provided by that difference, discovery, change, learning, action, tragedy, fulfillment take place - the story takes place.
basically, dont mary sue