Frequent meals isn't gospel, though. Art de Vany, originator of Paleo, counters that if you're on a diet that satisfies your appetite, like Paleo, it's better to eat larger portions less frequently, to maximize the amount of time your metabolism can focus on processing the insulin and then fat already in your body. Constantly eating all day instead focuses your metabolism on digestion.
Of course, if your diet doesn't satisfy you and keeps you hungry between meals, then frequent healthy meals and snacks might be a better option to, as you say, reduce temptation to eat bad stuff. Try both, figure out what works.