By the way the most successful of my students in his career so far lost all his passes after taking too long and failing one three times (affected by the FTO where I had started to teach him going bust, so not entirely his fault). He then failed the same subject another 3 times, finally getting through on the last attempt, albeit with a good grade (moral - if you need help, go to an instructor before resits!). His struggle to pass exams did him no harm.
To paraphrase a certain well-known airline recruitment manager, you get interviewed by pilots and all pilots hate groundschool!