Why are both wisdom and foolishness pictured as women in Proverbs?

This article has been translated into the following languages:

Indonesia