*12] Do not look upon any one for beauty,
and do not sit in the midst of women;
[13] for from garments comes the moth,
and from a woman comes woman’s wickedness.
[14] Better is the wickedness of a man than a woman who does good;
and it is a woman who brings shame and disgrace.*Part of me thinks that the issue is more a statement about men and their weakness. Look how the context begins by warning against a sinful gaze and warns against going in the “midst” of women. Then it transitions into the comparison that the moth comes from the garment - i.e. the lustful gaze comes from cavorting around women who would induce such a gaze. Then it goes into the whole wicked man vs. good woman. It seems, in context, we may be understanding here that hanging around a wicked man might make a man less prone to sin than being around a good woman because her beauty could draw him into an even worse sin.
Because elsewhere in the wisdom books (which includes Sirach and Proverbs), is this:
*Prov. 31:10 Who can find a virtuous woman? for her price is far above rubies.*Similarly, Sirach also says:*Sir. 7:19 Do not deprive yourself of a wise and good wife, for her charm is worth more than gold.*Anyone who knows how gold is referenced in Scripture knows that it is a figure of the greatest value or of something pure and holy. So, the highest praise given for being around a good woman is certainly there in the text. In light of that, the chapter 42 quote could possibly be understood as the best among women who attract lustful gazes.
Chapters 25-26 go on to use similar language as chapter 42. For example, compare:*42:14 Better is the wickedness of a man than a woman who does good
25:13 Any wound, but not a wound of the heart! Any wickedness, but not the wickedness of a wife!*You see in both of these examples how the author is referring to the woman as the “worse” of two bad things. But if we expound on the context of chapter 25, we see just a few verses later:*26:1-3 Happy is the husband of a good wife; the number of his days will be doubled. A loyal wife rejoices her husband, and he will complete his years in peace. A good wife is a great blessing; she will be granted among the blessings of the man who fears the Lord.*So you see even though in one breath the author is talking about how “bad” it is to be around a “wicked” woman, but how a good woman is a blessing from God Himself.
At any rate, it seems to me on first analysis that this is a warning about the danger of sinning by associating with a wicked woman who may draw lustful gazes. It’s not just beauty itself, because elsewhere the author praises the beauty of a good wife’s face (26:16-17).