Lack of adequate calories and nutrition negatively compound. You lose the ability to focus, you increase your medical risk.
I experienced that in my childhood. It’s terrible. I did very poorly academically when I did not have access to food. It’s astonishing to me how fast my academic performance improved after consistently having access to food.
Saying you would rather put yourself at risk instead of hedge your answer on a minor interview question in order to increase your chances of getting a job offer seems like an issue with prioritization.
Job interviews are a performance where you demonstrate you understand what professional expectations are and can abide by them. It's not dishonesty to not respond "I drink too much" when they ask "what's your biggest weakness?" just like it's not dishonesty to respond "can't complain" when someone asks "how are you today," even if you have a lot to complain about.
Once I interviewed someone and they described their tax fraud scheme to me. We didn't go with that candidate. Not per se because they committed tax fraud; because they demonstrated terrible judgment.
Software development is not that high-stakes of a job anyway. There is always another interview. I got another one soon enough, where the employee AI policy fully aligned with mine, so telling the truth was an easy, pleasant experience.
Imagine you are a pilot or doctor. Any kind of interview reply that doesn't fully align with your values now carries a real risk for human lives.