It depends on the model, I wouldn't point at any brand for making only quality laptops or any brand, popular brand anyway, for making nothing but junk.
I would say it more comes down to how you take care of it. If you just use it everyday, never pay any attention to component temperatures or dust buildup then don't expect it to last very long. My grandma has a 10 year old gateway computer, it's motherboard uses nothing but low quality non solid capacitors, a cheap 3 phase VRM for the CPU, thin PCB, etc. It still works fine to this day and I think that is mainly because I keep it clean and make sure temps stay cool.