1. Health. Your health is the most important thing. Yes it's more important than your family. You're no good to your family sick or dead.
2. Family and friends. It's a lot easier finding another job than another wife. You're at the age where you should be working smart not hard. You're too old to be sacrificing your time and your health to make a corporation money by working 60 hour weeks.
As far as friends, I've had to make an effort to keep in touch with friends and cultivate friendships. It's well known that men don't focus on deep friendships like women do.
3. Work. Keep your skills up, study, and stay current with technology. By the way, you don't have to keep up with the cool kids. There are plenty of boring corporate jobs where you can put in your 40 hours a week and go home. As long as you keep your skills up, you really don't have to worry about ageism.