Illinois SOP forbids me from telling a client not to buy a house but they figure it out pretty quickly without me using those exact words. Body language, facial grimaces, remarks like, "the cost to try to fix this is going to be huge." etc.
I have had many jobs where we never make into the house. I give an appropriate discount. They always hire me again.