My great-grandfather lived through the Great Depression, when the popular saying was:
"Use it up, wear it out, make it do, or do without."
The way things are currently going in the world, many of us are going to have to hold onto our computers and phones much longer than we're used to and figure out how to keep them working.
We're all going to learn just how important Right-To-Repair and free software are.
If you can't install the software you want and replace or upgrade key components, you may be faced with a costly purchase, or have to do without.
Now is the time to figure this out, because it's not going to get easier or cheaper for a while. Probably a long while.
If you don't know where to start, ask Fedi! Lots of super-experienced and knowledgeable people here ready and willing to help guide you.