Matia b. Haresh was tempted by Satan in the form of a beautiful woman. He blinded himself rather than see her and fall a victim to temptation. The angel Raphael cured him afterwards.
Matia ben Heresh Blinds Himself and Is Healed by Raphael
Gaster, Exempla of the Rabbis No. 136 (1924); Midrash Tanhuma Chukat