On the subject of coffee:
Learn how to fix shit and buy things that are fixable and keep running costs low.
My parents saved up when they were students to buy an italian coffee maker that only uses standard parts employed in most commercial machines - it is still sold today.
They upgraded recently, after 40 years of using it and only changing an o-ring every 2 years, and I was still able to sell it on the local equivalent of craigslist for what they paid back then due to inflation.
I saved up to buy a (2nd hand) big fuckoff Bezerra coffee machine and in 8 years of using it twice daily, I only changed the pump once, which cost 15$, and the main o-ring twice, which was 3.5$ each.
The initial investment is high, but it pays itself over the decades you'll be able to use it.
Coffee makers that brew espresso through pressure in a portafilter are expensive initially if they employ commercial parts (750-1500$ for those with a standard E61 group which has been used since, you guessed it, 1961), but for a cup of coffee (if you are used to american coffee, you add about 3 parts water to the product) only uses about 8grams (less than 1/3 oz) of coffee, which saves loads of money long term in beans.
If you don't want to save up for the initial investment, you can go cheaper than that still by employing an old fashioned "Bialetti" stovetop coffee maker (the "mini express" model is very charming imo), which you can probably find on any old people yard sale or brand new on amazon for 30-60$ depending on the size - they have a single o-ring that will need replacing every 2-3 years if used daily and the ones from the early 20th century still tend to work. You also don't need to buy paper filters for them, and if you grind and dose correctly, they make excellent coffee.
Similarly, any coffee grinder, even a hand operated one, if it has a good set of burrs in it, will let you go through at least 350kg of coffee before the burrs are sufficiently worn to potentially warrant replacement - on a large commercial grinder like the "Mazzer Super Jolly", the standard parts for this replacement cost about 50$.
I drink about 3 espressi a day which require 8g of coffee each. If you have a spouse and they are the same, you will use about 1.5kg of coffee a month - thus the burrs will need replacement once in approximately 20 years - at which point the grinder will work again like on day 1. I bought mine from a coffee shop that was closing for 120$, and there are enough of these around so that you can probably do so too - they've been produced and employed commercially for decades, including for the longest time, in every starbucks on the planet.
There is nothing stopping you from having top of the line enjoyable coffee every day besides buying fresh beans (No I don't mean some expensive hipster bullshit, just figure out a brand you like and a store that sells enough of them so that their stock is usually fresh) and figuring out the grind you need for the method you are using.