Why are Both Wisdom and Foolishness Pictured as Women in Proverbs?

Proverbs pictures Wisdom and Folly as rival women whose competing invitations dramatize the choice between Jehovah’s instruction and a path ending in death.