Does eating horrible harm your baby ?

Does eating horrible really harm your baby ? People say it doesn't but why are you recommended to eat healthy?