That sounds very like onset of perimenopause. I felt like that for years and had never heard of perimenopause (it's only recently been discussed.)
FWIW the thing that really helped me was to do something I had never done before every single day for a year and keep a brief record of it. I was inspired by a book called I Dare Me. and while I didn't copy most of what she did (she was a news anchor with access to lots of money and opportunities) I loved the idea. I had become really timid and set in my ways - not sure if that also applies to you.
I started small - buying different scents of bath gel, trying a new cafe, ordering a drink I had never had, walking a new route to or from work or school pickup. Then I branched out to trying different kinds of exercise. No need to commit to a term of anything - just one trial class, but things I liked, I stuck with. Then I made a bucket list of things I'd always wanted to do, some of which were really tiny and easily achievable. Others were more challenging. But I started to so them. I put myself under no pressure whatsoever to enjoy them - just try them. But after about two months, I really had my spark back, and after six months I was having the best time I'd had in years.
Other more obvious things that helped were upping self care. You don't need to want to do something - if you know it will be better for you, just do it. So lay out really nice clothes and put them on next day. Maybe use the 'new thing' technique to put together clothes in an outfit you'd not normally wear.
Use 'Atomic habits' techniques (great book by James Clear) - take 30 seconds to put on mascara or lipstick and a little perfume after you have cleaned your teeth in the morning - whatever makes the most difference to you. Then once that is second nature, add another small step towards the ideal version of self care you'd like to have.
Take extra vitamins - Vitamins D, herbal iron supplements, B complex, magnesium all seem to help a lot.
Another thing that helped me (forget where I learned this) is to have a tiny thing to look forward to each day (eg favourite TV programme, deep bath, coffee with an old friend, good yoga class); a small thing to look forward to each week - maybe a night out at the cinema or local live music or comedy club with partner or friends, a medium thing to look forward to each month - maybe a trip to the theatre or a weekend break, or a workshop for a skill you want to develop, a big thing to look forward/achieve to each season - could be a holiday, remodelling a room in your house, a gig or festival set by your favourite ever musicians, and something important that you feel you have achieved each year - could be getting a degree or running a marathon or moving house or getting to a goal weight or going on a trip of a lifetime.
They just help break up the monotony of daily life.