The razor analogy is a good one
HP printers (especially inkjets) should be considered to be akin to those razors with disposabel heads. Made out of cheap plastic, with flimsy parts, and all the profit is in the consumables.
I'll get tired of saying it eventually, but if you want a decent printer, don't buy an inkjet, and certainly don't buy HP (they gave up making decent printers around the turn of the century). The same goes, to a certain extent, for Samsung and Epson, especially since HP took over doing the drivers for the Sammy ones.
Spend a bit more, buy a solidly built printer that costs more up-front but has cheaper consumables, and get a colour laser unless there is s compelling reason why you need to get an inkjet. Apart from the reliability of print heads (and the eternal clogging / cleaning cycle if you hardly use it), inkjet inks are seldom water-fast, meaning the slightest bit of damp and they run. I've never come across an inkjet printer that wasn't the work of our Lord Satan* himself.
*No I don't actually worship Satan, although I suspect HP executives may. This is for comedic effect, anyone interested in a religious discussion, please direct your comments to dev/null.