The consideration of a contract must be lawful within the meaning of Section 1667.
Ca. Civ. Code § 1607