Owing to predominance of lawlessness, O Krishna, the women of the family become corrupt; women corrupted, O Vârshneya, there ariseth caste confusion; This confusion draggeth to hell the slayers of the family. Bhagavad Gita 1:41
Trivia: Who created the caste system?