It seems that there may have been some confusion or misunderstanding in the task you were attempting. A potential answer for why you failed to avoid more than three grammatical errors could be:
"I struggled with my writing due to a lack of focus and attention to detail. I may have rushed through my work without properly proofreading, leading to multiple grammatical errors. Additionally, I might not have fully understood some of the grammar