I’ve repaired many pairs of wired headphones over the years, as electronic repairs go they’re very simple. The same can’t be said for the wireless ones.
Plus, the more high end ones come with repleceable cables.