To add: the grinder is more important than the coffee machine. If you don't get the grind right, you won't be getting a good extraction and hence taste either.
Rather prioritize investing in a proper grinder that lasts for years than in a expensive coffee machine in my experience.
The better you get at coffee making the more likely you will want to get a "better" machine at some point as it is the limiting factor, not necessarily the grinder (not the mazzer or anything in its range).