I guess this isn't much help but here goes...
By their very nature, earbuds of any kind don't produce what I would call even an acceptable sound - the drivers are far too small for that. Considering what they are, they produce an amazing sound but it's certainly not good sound quality.
The only way that earbuds, or even headphones, will last for a long time is if you are especially careful with them and, frankly, don't use them much. The problem involves the cable and the connections at each end. The cable has to be very thin. Thicker cable would be too heavy. The constant movement breaks the connections. The fact is that headphones, earphones, earbuds etc. were originally never intended to be used the way people use them now. I have a really cheap pair of lightweight headphones I bought twenty five years ago for listening to music during my long bus journeys. I very rarely use them now but they still work fine. If I started wearing them for hours on end whilst I excercises, walked about, danced, lay in bed etc. they'd be broken in a few days.
You need to have realistic expectations. If you use earbuds the way most people seem to these days, consider them as consumables - something that, like batteries, needs to be replaced regularly.