Before spending money on a good grinder, make sure you have access to reasonable good quality / priced beans in your area! Otherwise your OPEX really starts to go through the roof for shipping coffee (At least my area)

Before making sure you have access to good beans (had to carry on with the theme), make sure you actually want to have "coffee" as another hobby in your life. Maybe it's worth it to outsource to your local cafe the machine maintenance, grind fine-tuning, bean recipes, hours learning milk steaming, hours spent on youtube, coffee forums, commenting in the occasional HN coffee-adjacent articles...

If good coffee is the goal and one doesn't insist specifically on espresso or having steamed milk, the humble pourover is a good starting point. The pourover funnel, filters, and a decent hand grinder are relatively inexpensive and, with only a little practice, the output is as good as any americano produced by the average barista at 1/5 the price per cup.

That's pretty much why I got a semiauto machine. Is it the best espresso ever? Probably not. But I can make lattes in my underwear on Saturday morning that are still better and cheaper than what I'd get at Starbucks. Scratches the itch without being as demanding as a hobby.

Before you buy beans, make sure you have good water first, as hard water can ruin coffee. There are literally products to demineralize water and also to add them back in for optimal water flavor for coffee.

>make sure you have access to reasonable good quality / priced beans in your area

Why? In which country can't you buy high-quality hipster single-origin beans online?