In his book The Subjection of Women, John Stuart Mill advocated for gender equality and the right of women to participate fully in society, including the right to vote and access to education and employment opportunities. He argued that the subjugation and discrimination of women were harmful not only to women themselves but also to society as a whole, and called for legislative and social changes to address these inequalities.