Young Goodman Brown and Hawthorne's life

Using a biographical /historical lens, examine “young Goodman Brown”. How does the work relate to
Hawthorne’s life? In what ways Goodman Brown’s spiritual journey mirror Hawthorne’s? Remember this is a critical paper. I do not expect a biography; rather, I expect you to use Hawthorne’s life to expand our meaning of the story