There was once a king who discovered that his wife had been disloyal. In his bitterness and grief, he decides that all women are the same and had her executed.
He then proceeded to marry every fair lady in his kingdom trying to protected himself from the treachery of women by putting each wife to death the morning after their wedding before she has a chance to dishonour him.
Eventually the vizier cannot find any more virgins. The vizier’s daughter Scheherazade offers herself as the nexy wife.
On the night of their marriage, Scheherazade begins to tell the king wondrous stories of love and destiny, but does not end it so that the king would let her live another night to hear the end of the story.
The next night, as soon as she finishes the tale, she begins a new one, and the king, eager to hear the conclusion of the new tale, postpones her execution once again and this goes on for 1,001 nights.
The different versions have different individually detailed endings but they all end with the king giving his wife a pardon cause during these 1,001 nights, the king had fallen in love with Scheherazade.
He spared her life, and made her his queen.