Rav Yaakov Emden(Avos 6:2): The verse (Mishlei 11:22) a beautiful woman who misbehaves is like a gold ring in the nose of a pig. The explanation of this verse is that Shlomo saw with his wisdom the lust that men had for women. Their love blinded them from seeing the disgusting aspects of women. This is stated in Shabbos (152a): A woman is like a pitcher of filth and her mouth is full of blood and yet everyone runs after her. If you would reveal to them her blemishes they would not pay attention. Thus Shlomo used a parable that was obvious and known to all and applied it to a woman. Thus it means that even though a ring is something very valuable – the pig itself is not beautiful. It is clearly disgusting to everyone and therefore even with the beauty of the ring – the pig itself is not innately attractive. This is the point of comparison to a woman. Thus when the external reasons for the attractiveness of women are removed – she herself is compared to a pig. A person should not be seduced by the form and beauty of a person since it is superficial. Thus a person who is perceived of as beautiful – the beauty is only to serve G‑d. If he doesn’t act in this manner, he destroys the godly image. Thus we see about the wicked Haman (Esther 7), And the face of Haman was covered. That is because he angered G‑d. The consequence for one who has caused anger and is reprimanded is to be degraded, embarrassed and to have his face concealed.