My brother's employer offered buyouts from time to time. First time one was offered, my brother had enough years in, but was just shy of the minimum age of 55. Next time a buyout was offered, Bro was 57 and thus eligible, so he took the offer. Full pension, company paid health insurance to Medicare eligibility and assorted other benefits -- what not to like?
Thing is, my brother said in reality, he had no choice but to take the buyout. First time the buyout was offered, there were four other guys in his department who were eligible, Three took the buyout, the fourth declined. Then one day a few months later, the fourth guy was terminated -- supposedly, the company eliminated his position and had nothing else to offer. He was given a severance, but nothing as generous as the buyout he declined.
So if your employer offers you a good deal, take it. Bro did and he says it was the best decision he ever made.