Ecclesiastes 7:24-29 CSB

24 What exists is beyond [reach] and very deep. Who can discover it?
25 I turned my thoughts to know, explore, and seek wisdom and an explanation [for things], and to know that wickedness is stupidity and folly is madness.
26 And I find more bitter than deatha the woman who is a trap,b her heart a net, and her hands chains. The one who pleases God will escape her, but the sinner will be captured by her.

References for Ecclesiastes 7:26

      27 "Look," says the Teacher, "this I have discovered, by adding one thing to another to find out the explanation,
      28 which my soul continually searches for but does not find: among a thousand [people] I have found one [true] man, but among all these I have not found a true woman.
      29 Only see this: I have discovered that God made people upright, but they pursued many schemes."