Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Good for use of "ばいいのに"!
"お食事" is not for eating, stands for breakfast, lunch, dinner ... and Japanese will says as follows
お腹空いた時、何か食べればいいのに。
"何か" is something.