Yes I agree with that. With the multiple failure it is natural to feel demotivated but I am sure for such students that with help of their teachers and parents they can do it more good then they did last time. The best thing to keep yourself motivated is to keep it in mind about your goal. The bigger the goal is the more you are motivated.