With respect to quality issues that have been brought up in this thread, my household has had 5 laptops in the last 10 years: 3 Dell and 2 HPs (their timelines overlap). We usually use them 4-5 years before we donate them to other family members and replace them.
We’ve never needed to do a single repair to any of those laptops, which is probably why I didn’t feel the need to give weight to one brand over the other wrt quality. As far as I know, those machines are still ticking in their current homes too.
In my industry, we have worked quite a bit with HP equipment and the conclusion that many of us came to: HP makes top-notch hardware and crappy software. Those may be out-of-date generalizations now and probably do not apply to their laptop product line at all, but that was their image in my neck of the woods.