I think the Scripture is describing a hypothetical situation as Jesus was in a state of contemplation in the desert for 40 days. It is more important to understand his rational to follow God as the focus of his life.