You can eat food at restaurants or buy ready-made meals at stores.
Of the below sentences, which one does *not* make sense?

"if you want to eat food, you can cook for yourself"
"if you want to eat food, you have to cook for yourself"