@tanguatlay,
Okay,because of the changes you have made in introducing EXAMS and HIS/HER lets go back to basics.
I would eliminate any use of (succession/successive/consecutive) and (his/her),and replace with 'previous attempts" and 'the'.
Then the sentence would be expressed like this:
Mary did not give up(despite failing/despite having failed) the exams at a number of previous attempts.