Is 40 too old?

Am 40 this year and been starting to feel so lonely. Thinking that am turning old and have noone in my life. No friends even. Just go to work and back home to look after my kid. I don’t socialise nor have things to look forward too. I don’t feel confident about my looks though i know i don’t look bad.