Cord failure is definitely a problem, but if you’re moderately capable with a soldering iron, it’s easy to repair the cord if the failure is away from the headphone side. It’s even fairly easy to replace an 8mm or 0.25” jack.
Your soldering skill (and sense of adventure) would have to be far better than mine to even consider doing that for wireless earbuds.