HP is now kinda enforcing using HP-authorized cartridges, maybe something about the warranty?
that said, i have had 3-4 HP printers since 1998. they last about 4-5yrs on average. originally, mine had Fax capability since i needed to fax stuff. last two are just print, copy, scan (to PC or to USB) w/ flatbed & document feed.
yep, the cartridges are getting expensive.
then, they came out with HP Instant Ink - use their "special" cartridges, they monitor ink levels and order automatically. or you can order manually.
i did a price comparison on store bought HP carts versus their monthly charge - Instant Ink won out.
your printing must vary.
epson ecotank
https://epson.com/ecotank-ink-tank-printers
look good, but 2-3x the price of my HP.