The agreement of the parties cannot make that good which the law maketh void.