I know exactly what you mean. But as I started to read, for a moment I thought you were talking about dental floss, and I was thinking "When are you ever going to need that for something important‽"
Rarest achievement - I've been doing minor plumbing work my entire working life, and I was 48 before I finished a roll of PTFE tape instead of losing it
I've never had them run out exactly but I've had them go weird. Like when the ink sort of separates out into zebra stripes.
My wife keeps a handy pot of biros that don't work. Which is so useful to have when you really need a pen and not frustrating. She says it's to keep them separate from the ones that work and we've had the 'put them in the bin' discussion and somehow she won so...
Many years ago I worked in a call centre selling insurance. I was there for about a year, and the only time I felt the slightest sense of achievement was that one time I fully killed off a Bic biro. There was a lot of mindless doodling involved.
They last forever at home but at work they seem to run out at a fast rate and I have to search high and low for a new one because no one ordered any as usual.
Buying more won't help, whenever you really need a pen and your usual one isn't working, the only one you'll be able to find is a cheap minure one that probably came from a kid's birthday party 10 years ago. There's no way to avoid this, you just have to accept it.