It’s easier just to box it and store it away and give it to someone if a situation ever arises. Selling it is ridiculous as I’m lucky to get 30 or 40% Plus all the hassle negotiating when selling, so I keep it.
I know exactly what you mean but lets face it, used gear depreciates fast, how much depends on brand and category, unless vintage where you can sell at a much higher price compared to original retail.
On the other hand the best values are found in used gear market for many users look after their equipment. So if within budget go for it.
And yes buying second hand car is more risky.