That's what I used to think in the beginning.
But if one enjoys collecting headphones, seeing how gear compare and compete with each other, challenging their listening abilities when trying out different dac's/amps/IEM's, witnessing subtle improvements (?), experimenting with headphone mods....................then clearly the 'gear' has taken on a life, purpose and allure within itself to some degree. There's nothing wrong with that. Nothing wrong with that at all.
I get asked a lot of the time about this hobby (by friends and even random strangers) and everyone asking seem genuinely captivated when I tell them. It's far, far, from being a crap hobby and I especially hate it (not directed to you!) when there are people who have grown out of this type of hobby- after going through 150 headphones- and conclude that it's all about the music in the end, not the gear. Because if it was, then what made this dood go through so much gear? Hey, probably the third headphone the guy picked up was perfectly fine and satisfactory from a musical enjoyment perspective. For me if it was purely about the music and not the gear, then I would get rid of everything I have and only leave behind the £6 philips she3590 to be paired with my ageing samsung sgs smartphone. Full stop.