Deuteronomy 23:4-5
23:4 for they did not meet you with food and water on the way as you came from Egypt, and furthermore, they hired Balaam son of Beor of Pethor in Aram Naharaim to curse you.
23:5 But the Lord your God refused to listen to Balaam and changed the curse to a blessing, for the Lord your God loves you.
Deuteronomy 23:18
23:18 You must never bring the pay of a female prostitute or the wage of a male prostitute into the temple of the Lord your God in fulfillment of any vow, for both of these are abhorrent to the Lord your God.