If you've failed multiple times on a program it's time to try another program.
Keep trying until you find what works for you.
I've tried 9 different programs where I'd lose 20lb/10lb but gain it all back
Now I've found one that suits me the best to my psychology.
Everyone is different so find what works for you