Everyone has a different style regards lifestyle on the road. I don't cook traveling on the bike ... On some trips I may carry Tea or Coffee. Some travelers love to cook for themselves, only want to eat what they know ... just like home! They don't mind the additional gear, the prep time, clean up in the dark, and the packing away next day.
Not how I roll.
I prefer immersion in local culture when possible. Learn what they eat, observe how they cook, maybe even share a meal. Perhaps pick up a few more words of local language? Will it be awful sometimes? You betcha. Part of life. But most times its pretty good. I learned you have to eat when the locals eat and when things are hopping. In much of Latin America this means you should eat early ... or you won't be eating at all. In Argentina, in means midnight. Get used to it and roll with it. Sadly, fast food is chaning everything, breaking down cultures.
In Ecuador I got a first hand lesson on preparing Qui from a Quechua family. In Ethiopia learned how to make Ingera (sp), a popular staple made from Millet. (never liked it ... looks and tastes like a 20 year old Green Carpet pad.
As a kids we learned to try everything offered, so I'm fairly open to eating weird things: Like deep fried Scorpions and other bugs and worms sold in the markets in Cambodia or Sweet Breads in Mexico and Argentina (Brains), or unknown stews simmering in local markets in Ghana ... stuff 95% of tourists would never touch, and even Anthony Bourdaine might balk at. I love that guy.
Sure, I got sick from time to time, Montezuma is always there waiting to dance with you at the Porcelain alter. You will get sick no matter what you do. But once your system adapts to local bacteria you'll likely be OK. Or not. Then you'll die. Best Stay home then!
With poor planing you may end up middle of nowhere, then I suppose carrying cooking stuff and food makes sense. I rarely camp outside the USA. Don't like to be stuck "guarding" the camp and all my precious stuff while being eaten alive by Mosquitos or robbed at knife point, awakened by grazing Cows at 4am or flooded out by a flash flood.
Even in remote areas I try to make it somewhere populated enough to have a restaurant, store or public market, or at least where a family might take you in and cook for you. But then ... I've never crossed the Sahara where towns are few and far between.
Some travelers carry cans of Sardines, Tuna or Salmon with them, and Saltine crackers. Like Homeless people. They actually considered this a GOOD MEAL and would eat in their room or tent rather than go to town to look around for a decent, cheap restaurant and a cold Beer. Different strokes I guess, but what this leads to is isolation and alienation.
I'd ask if they'd ever eaten a Saltena (Bolivian Emanada), House made Tamales, Ricotto Relleno (Peru'), Empanada, Alote' (grilled Corn w/Lime and Chili) Roasted Qui (Guinea Pig) or BBQ Beef heart cooked on a small Hibachi on the street (yummm!)
Most had no idea what I was talking about or didn't care ... and weren't thrilled with eating in a public markets or off the street with the Peasants. Too dangerous for them. Many seemed to survive solely on tinned food, Rice & Beans, eggs and soup (canned).
I enjoy the plethora of fresh fruits and fresh squeezed juices available. So many travelers would never even try something they'd never seen or tasted. Like Durian fruit (Guanabanana) or other exotics. Some I met had never eaten Papaya, Mangos, Tamarindo, Guava, or even Pineapple ... not interested.
But Tomatoes and Onions seemed popular.

With Tuna! Please breath the other way!