ex turpi causa non oritur actio

A right of action will not arise from a base cause. Thus; an illegal contract is generally unenforceable.