It's not surprising that you use food to comfort yourself since certain foods may help people feel better temporarily.
Maybe you're trying to make too many changes at once. Research has shown that willpower is like a muscle and can get worn out if we try to use it too much. Have you tried talking to a dietitian or a gone to a group like weight watchers? Others can often help keep you motivated.