theory test computer problem

I hate people saying that I have a bad luck in their life. I really can^t understand this kind of attitude. In my opinion it is completely wrong to think in this way. Why? First of all when you will keep thinking in this way you can expect the world to present you some kind of problems and the bad luck will prevail. Do you understand this concept? For most of the people it is hard to believe that their thinking is what actually creates the reality they live in. What is even more surprising is the fact that most of the people is thinking that they have bad luck in their life and the chances of achieving success are rather low. I am trying to be the opposite and when I was driving to my theory test last week I was also thinking that everything will be OK and that there is nothing that can go wrong. When I saw the test I realized that I know the answer to most of the questions and that I should pass it without problems. When they have informed us about the results of this theory test I was really surprised to find out that all my answers were wrong. I was shocked, for real. Later, it turned out that the computer was wrong and I have passed theory test after all. This proves my point that positive thinking is always a good choice.