One who does not gaze at women merits that his descendants will write commentaries on the Torah.
Sefer HaMidos, A Holy Book, Part I §5