Proverbs makes up the majority of what the OT has to say on the matter and it consists mostly of a description of an ideal wife (according to the patriarchal mores of the day) and a whole lot of passages suggesting one should stay away from prostitutes.