The more features and capabilities coffee machines and coffee grinders have, the more expensive they generally are. This usually means that for better it does cost more, as long as it’s understood as to why it cost more. Depending on your needs, you don’t have to spend more on equipment that you won’t use to its full potential.
We would say spend what you can afford and get the most out of what your coffee needs are. Coffee machines last for many years so in the long term we recommended to get something that you will be happy with for a long time.