Who does Hester compare to the Devil and why

Pearl and Roger Chillingworth contend brutally over the soul of the minister Arthur Dimmesdale.

Roger Chillingworth & Arthur Dimmesdale | …

In the novel The Scarlet Letter, by Nathaniel Hawthorne , Chillingworth and Dimmesdale both use deception to hide secrets from each other, and from the rest of the town.

Both had a relationship with Hester

Hester Prynne and Arthur Dimmesdale, in Hawthorne's The Scarlet Letter, are both victims of the cruel isolation from Puritan society on the basis of their sins.

Just as Adam and Eve were expelled from their society and suffered in their own being, so were Hester Prynne and Arthur Dimmesdale in The Scarlet Letter....