clean hands doctrine

noun
  1. : a doctrine that originated in equity and that bars a plaintiff from seeking judicial relief regarding a matter in which he or she is not free of guilt and does not have clean hands