LiFePO4 batteries generally sit upwards of 3000-8000 cycles to 80 percent original charge.... Depends on what your chemistry is.
As the batteries improve, you'll probably want to upgrade every 8-10 years or add/swap out a 1/4 to 1/2 storage by that time, still able to use effectively even if a little lower top end. Depends on your usage and if you're still on grid.
Lithium irons are often 4000 cycle now. For full cycles.
I forget who but I really want to say I was looking at some cells a year or three ago that were 10k cycle count.
And it's not like the battery is worthless at that point. It just means the battery is down to 80% max capacity. You can down cycle it, find some other consumer to use it, replace it, if you need the capacity. But should keep running for a long time.
As the batteries improve, you'll probably want to upgrade every 8-10 years or add/swap out a 1/4 to 1/2 storage by that time, still able to use effectively even if a little lower top end. Depends on your usage and if you're still on grid.