As I have pointed out before verses 4 and 16 are exactly the same. The sources are different. One is wisdom and one is the “foolish woman” (woman of folly NASB). If the invitation is the same, how do we tell which is the right course. This verse gives us an indication when you compare it to verse 17.
(Pro 9:17 KJV) Stolen waters are sweet, and bread eaten in secret is pleasant.For today look at the different offerings in light of the adjectives. That which comes from the foolish woman is to be hidden. Notice it is stolen and secret. The offering of wisdom is given in the spirit of sharing what is hers.
So? One way you can know the right choice is by asking yourself, “What if _________ knew I was doing this?” If it requires you to hide then the chances are you are wrong. That means it is sin and destructive to your eternity. Always engage your mind.