There is nothing wrong with having a snack. Why do you regret it?
L is very right about not having enough energy to do the things you want to do if you don't eat properly. And yes, you will end up in hospital if you don't eat at all. It also won't help you lose weight heathily, if that is your intention.
Is this something you think you could talk to someone about?