Early religions attempted to regulate behavior related to health , from types of food eaten , to behaviors , such as drinking alcohol or sexual relations . Early religions attempted to regulate behavior that specifically related to health , from types of food eaten , to regulating certain indulgent behaviors , such as drinking alcohol or sexual relations .