The phrase "get thee to a nunnery" is a line from William Shakespeare's play "Hamlet." In the play, the character Hamlet utters the line to his former love interest, Ophelia, as a way of telling her to go away and become a nun, or to retreat to a life of celibacy and solitude.
The line has since become a common expression, used to tell someone to go away or to live a life of solitude. However, the original context and meaning of the phrase in "Hamlet" is more complex. In the play, Hamlet is in a state of deep emotional turmoil, and his use of the phrase reflects his distress and frustration with love and relationships. He is urging Ophelia to retreat from the dangerous and unpredictable world of love and sexuality, and to find safety and peace in the religious life.
In modern usage, the phrase has lost much of its original meaning and is often used more flippantly, as a way of telling someone to go away or to mind their own business. Nevertheless, its roots in Shakespeare's play remind us of the historical connection between love, sexuality, and religious devotion in Western culture.
In conclusion, "get thee to a nunnery" is a phrase that has evolved over time, but its origin in Shakespeare's play "Hamlet" speaks to the complex relationships between love, sexuality, and spirituality in our culture.