The story
Uttered by the character Edgar in Shakespeare's King Lear (see quote). Likely a reference to one of various Ottoman Sultans (often referred to as the Grand Turk) famous for their large harems, or to the more general practice of polygyny associated with Islam.
Etymology from Wiktionary, CC BY-SA 4.0.