The Baptist Church Covenant has people lying to God

Should you promise not to sell or drink alcohol when you know you will do so?