Be confident. Middle age man is attractive to many women. Keep yourself fit and looking good. Smile, be happy. Positive attitude itself is a big plus.
Don't ever just pity about yourself. Even as I was hitting rock bottom I always trying to care for my GFs and asked little sympathy from them. I have children to care for too. I have remarried 3.5 years after first wife died.