The second time it went out my son fixed it. My GE double door fridge lasted six years before meeting the repairman. So far the cooktop and microwave have held up. My old 21 year old Sears fridge is still chugging along.
One of our best investments was 3HP Gould water well pumps. The first one lasted 23 years.
All fridges are far less reliable since 1992 with the introduction of Energy Star.
Appliance companies are in effect required to use much smaller compressors than they otherwise would use. And use integrated circuit boards(computers) to better regulate energy use. That cost $600 plus to replace when they go bust.
If you have an old trusty freestanding fridge better to repair than replace from durability POV.
I remodeled my kitchen and gave away my old trusty GE fridge (26 years old) purchased a very fancy new built-in one. Had to replace one of the computers after five years. Built-in fridges are very expensive to replace.