That's a tough one. And I can't help observing that there is no law in Torah that directly says "don't sleep with a prostitute". Obviously when you take a "sex = marriage" approach then all prostitution is adultery and therefore forbidden on those grounds - but the lack of a direct statement to that effect is interesting. There is a very clear statement that you must not let your daughter become a prostitute (Leviticus 19:29), and there's lots of guidance in Proverbs to beware of loose women, but no law saying don't do it and applying a punishment if you do. There are laws against going after other gods, which would preclude temple prostitutes, but not secular ones. It isn't until we get to Corinthians before there is an absolutely explicit statement that it's completely off limits (someone who has sex with a prostitute becomes one flesh with her, don't do that).
So it's something that is obviously frowned upon and at a bare minimum strongly advised against, if not completely forbidden as always adultery, and therefore something you shouldn't do.
But the lack of direct condemnation of Judah, or anyone else, may reflect this being more "very strong advice" than "law with a punishment attached". And it is clear that prostitution existed in Israel, e.g. the two prostitutes who took a baby to Solomon.
I find it interesting that there is no punishment specified for a woman who is a prostitute, which is shown by how Solomon didn't punish the prostitutes who came to him, but just judged fairly between them on the issue they brought to him. I take this to be due to God's mercy, knowing the realities of life. Women generally become prostitutes as a last resort due to economic hardship, especially in times of crisis like war. It would be far better for someone to marry them. But if nobody offers to do that, outlawing prostitution would take away their last emergency option to earn a living. I think that God is merciful, and does not condemn people for what they do out of desperation - while still encouraging a far better way.
So it's something that is obviously frowned upon and at a bare minimum strongly advised against, if not completely forbidden as always adultery, and therefore something you shouldn't do.
But the lack of direct condemnation of Judah, or anyone else, may reflect this being more "very strong advice" than "law with a punishment attached". And it is clear that prostitution existed in Israel, e.g. the two prostitutes who took a baby to Solomon.
I find it interesting that there is no punishment specified for a woman who is a prostitute, which is shown by how Solomon didn't punish the prostitutes who came to him, but just judged fairly between them on the issue they brought to him. I take this to be due to God's mercy, knowing the realities of life. Women generally become prostitutes as a last resort due to economic hardship, especially in times of crisis like war. It would be far better for someone to marry them. But if nobody offers to do that, outlawing prostitution would take away their last emergency option to earn a living. I think that God is merciful, and does not condemn people for what they do out of desperation - while still encouraging a far better way.