I went through a phase like this. You know how many times it took for me to pass my driving test? 4.
I looked for excuses, tried to put myself in different mindsets and did everything I could to shake this repeating failure. Just before one of my tests, I turned to my instructor and asked about a different test centre I could go to when I inevitably fail the upcoming test. He had a go at me, saying it was the wrong mindset, but I really believed I would fail. I didn't care about the test, I even got hammered the night before the test, so was effectively hungover. I kept forgetting I had the test in the previous week. On the test, I couldn't give a ****. I'd got to the giving up and expecting disappointment stage. And guess what? That was the test that I passed.
You really can't predict the outcome. You've got to keep trying, because giving up will ensure you will never pass. At least trying gives you that possibility, no matter how small you think that posibility of passing is.