The charger brick itself probably isn't the problem - try swapping cables first. USB-C cables degrade way faster than the actual power adapter, especially if you've been bending or coiling them tightly. Grab a different USB-C cable and test it with your original charger. If it suddenly charges at full speed again, that's your culprit. Even premium cables start dropping efficiency after a year or two of daily use, and most people don't think to replace them because they assume the brick went bad.
If the cable swap doesn't fix it, check whether your phone's charging port itself is getting gunked up. Lint and dust accumulate in there over 18 months and create resistance, which makes the charger *seem* slower even when it's working fine. A quick clean with a small brush or even a toothpick (gently!) usually does the trick. I've noticed this happens to basically everyone who doesn't occasionally maintain their ports.
As for actual charger lifespan, the electronics inside are pretty resilient if you're not exposing them to heat or damage. They typically stay functional for years. What *does* matter is how you store and use the cable - don't wrap it super tight, avoid kinking it, and keep the connection points clean. If you do end up needing a new charger down the line, they're not expensive enough to justify keeping a dying one around, but in your case it's probably just the cable being worn out.