Adultery was illegal in The Scarlet Letter .
Her `` punishment '' ( because adultery was illegal at the time ) is to stand on the scaffold for three hours , exposed to public humiliation , and to wear the scarlet `` A '' for the rest of her life .
The Scarlet Letter