Proverbs 5 is, at first glance, a warning to avoid immorality. It's especially worded to avoid immoral women, given that this is written as advice to a future king.
The warnings are very pointed, about the fact that adultery is the way to death and hell, that it will destroy all who follow in that path.
Yet that's not the only focus of this chapter. Look through Proverbs 5:15-20 (NLT). What do you see? It's a celebration of married life and love.
It's a good example of the right method of teaching wisdom and morality. It's not enough to always only point out what to avoid, but it's good to point out what should be embraced. A loving, passionate, and even physically exciting marriage is a good thing to have. If you aren't married, it's not bad to seek it. If you are married, work your marriage in that direction!