Answer:
It's ok if the person is too hungry , like a really poor person who isn't able to afford for food . But if it is affordable it's not good to steal food , you can just go and buy some food for yourself rather than purposely stealing it from someone . But in all cases it is good to ask permission to the person before eating their food , that's more convenient.