It really depends on where you end up and what the local culture is around food, cooking and restaurants. I've been to places where restaurants are stellar, but I've also been where you would only get dogfood. Where, when asking locals about eating out, you get an answer like "only tourists are that stupid".
Out of curiosity, mind sharing where you were told the latter? I know what you’re talking about, but I’ve never been anywhere where it’s quite like that.