If we consider that Parallelism is the use of components in a sentence that are grammatically the same ( or similar in their construction), we can correct the given sentence as it follows:
Walt Whitman was an American poet and journalist ( being POET and JOURNALIST two professions and two nouns. He also wrote essays ( as WRITE is a verb, and it doesn't have the same grammatical structure as POET and JOURNALIST)