What eventually worked for me was getting a reference manager (I use Zotero). Every day I try to close a bunch of tabs by going through them and moving them to my reference manager. That way, I still have them listed just in case I want to go back to them later, but they don’t clutter up my browser any more. The most interesting side-effect of this has been that I’ve accumulated resources on a bunch of topics: if I decide one day that I want to learn CSS or graphics programming or electrical engineering or something, I can just go to my reference manager and find a bunch of high-quality resources waiting for me.
(OK, I tell a slight lie: 4000 tabs is too much to categorise one by one, so about half of them ended up just being copied to a text file, one URL to a line. But rest assured, I will eventually add them all to my reference manager, though I suspect it will take automated keyword extraction or something like that.)