This applies to your studies and life.
It’s OK to make mistakes during your exercises. Most importantly, learn from your mistakes so that you won’t repeat them in your exams.
In life, it’s OK to make mistakes too; we are not saints. However, if we don’t make an effort to improve, then we can’t blame anyone for our failures except ourselves.