William Shakespeare was both a playwright and a poet—and yes, an actor—but his immortality rests on the page.
He was a shareholder and performer in the Lord Chamberlain's Men (later King's Men). Likely played older male roles (Ghost in Hamlet, Adam in As You Like It). Acting gave him practical theater knowledge—entrances, exits, pacing, audience rhythm—that shaped his writing.
Acting was his trade; writing was his destiny. The actor served the writer.