This is the role of sales managers. They should be ensuring that known bad deals don’t happen. Mostly by auditing every deal. Usually it’s pretty quick and easy to tell if a deal is good or bad if you are trying to be objective.
If a salesperson won’t accept this rule - fire them.
This is not a trick question btw. Genuinely curious.