Yeah; buying new is extremely expensive. Many cities have an e-waste recycler from whom you can get great deals (otherwise browse Craigslist and Marketplace, there are good deals (sometimes free) on older equipment.
For UPSes, a reputable brand (like APC) will still function fine but might need new batteries, which are a lot cheaper than a whole UPS.