I think I’m broken 😞 help

I think I’m broken I am nearly 28 and don’t have anything to show for my life

This year started out so so good I had a boyfriend I caught pregnant we was both exited then I had a miscarriage then everything went downhill my boyfriend left me, I have no job and with the way the world is a doubt I will get one for while all I want is to have my own little family and I doubt that’s ever going to happen I try and sort my life looking for jobs trying to improve myself buying expensive stuff and re decorating my house and I fills nothing inside me

I feel like everything I do is pointless that I’m never going to be happy I’m never going to have my happily ever after.

What can I do ??