The consideration of a contract must be lawful within the meaning of the section defining unlawful contracts.
SDCL 53-6-5