Sorry OP that you are having a tough time with it.
I think you have to find your personal motivation, which will be different to other people's.
For me, it's all about the cause of the bad eating/less exercising. Try to identify that. I've had counselling, btw, to help me with it.
My causes are low self esteem & anxiety. I know I lose weight whenever the things that cause my anxiety feature less in my life (like my abusive ex). It flares up from time to time whenever something to do with him pops back up again.
Since identifying the cause, I have changed my mindset to "shall I do some exercise today?" to "when shall I do exercise today" - no matter what it is, or how long for, I make sure I get something in (a walk, yoga, run, swim etc)., because exercise always, always makes me feel better afterwards.