Answer:
Instead of spending time making food, he drives and buys food by a total of $4.
Now, he is not considerating the amount of gas that he is spending by going to buy food and returning.
Also, he was not working, so he is not producing money at the beginning, so making his own lunch actually does not implies that he stops working and loses money.