The poem was written during this time, when society was starting to see social mobility in terms of class as well as gender
Women were starting to demand equality and saw the beginning of the suffrage movement
Beforehand, views of women were very backwards and women would become property of their husbands upon marriage, they never had rights to property and possessions
They also had no legal rights / no access to divorce, and would be married off by brothers and fathers as they were seen as a financial burden and as incapable of 'rational thought'
There was also a very high focus on morality, manners and modesty in the Victorian era, especially seeing as a large majority of society identified as Christians
Sex was taboo, especially female sexuality, and the only way for a woman to gain status/influence was through her husband