When I no longer like it.
I have an old Jeep. Piece of junk. But I like it, so every few months I cough up whatever it takes to fix it. At some point my love affair will be over and it will be gone.
That is the way with most things. Sometimes it may be cost effective to fix something, but if I am tired of looking at it, it is gone when it needs help.