You can expect to get a good service life from your heat pump if you remember to have it regularly maintained and always call promptly for repairs whenever the unit needs them. (Important reminder: because heat pumps work around the year, they need two maintenance visits per year.)
However, any heat pump has a limited service life, usually from 10-15 years. When a heat pump becomes too old, no amount of regular maintenance or repairs will be able to turn it around and restore it to its original condition. It’s possible to force a heat pump to work for several years longer if you keep having it repaired, but this is costly and the heat pump will perform at much lower effectiveness while causing your utility bills to spike.