
Subsequent development of the stereotype may also have drawn inspiration from traditions surrounding the Biblical figures of Mary Magdalene and Rahab, or to the ancient Indian theatrical tradition of Sanskrit drama where Śudraka's play Mṛcchakatika ( The Little Clay Cart) featured a nagarvadhu (courtesan) with a heart of gold named Vasantasena. Unlike the Greek "good hetaera", who could sometimes end up marrying elite men, the Roman prostitute with a heart of gold was expected to know her place at the margins of Roman society, though there were exceptions. The Roman prostitute with a heart of gold was however invariably portrayed as an exception to the norm for prostitutes to be selfish and greedy. Nevertheless, the prostitute with a heart of gold still appeared quite frequently in Roman writings from around the time of Terence for example in Terence's Hecyra and in Livy's semi fictionalised account of Hispala Faecenia. This stigma against prostitutes largely persisted in Western society from Roman times until at least the start of the 21st century. In classical Roman literature, the prostitute was commonly portrayed as especially selfish the stereotypically bad woman against whom the femina bona (good woman, typically a loyal wife) was contrasted. Such as in a "much discussed" passage of Plutarch's Table talks where Plutarch commends Menander as suitable for use at Symposia, as the dramatist had his heroes break off relations with bad prostitutes, but sometimes marry them if they were good. The work of Menander has long been known for its treatment of the trope. The good prostitute appeared even more frequently in new ancient Greek comedy. The good prostitute (or more specifically good hetaira, a type of high-end prostitute) emerged as a stereotype in middle ancient Greek comedy for example in Antiphanes's Hydria. Prostitutes appear in ancient Greek literature as far back as the Archaic period, such as in the work of Archilochus, though initially with little focus on their moral qualities. Per Nell Damon Galles, the character is "the good girl who made one too many bad decisions-losing her virginity, becoming promiscuous, and eventually entering the dark world of prostitution." The "hooker with a heart of gold" has also been described as a "modern 'secular' counterpart" of the medieval sinner-saint. Sometimes, the character will be a foil for another female character who reflects negative stereotypes of uptight or frigid women. The narrative will often provide extenuating circumstances for the character's prostitution, and emphasize her personal decency. The character type is defined by morally positive traits, which are contrasted with the character's employment as a prostitute. The hooker with a heart of gold is a stock character involving a courtesan or prostitute who possesses virtues such as integrity, generosity and kindness. Stock character prostitute with heart and intrinsic morality Vasantasena from the Sanskrit play Mṛcchakatika.
