No, Einstein did not fail math in school — that’s a myth.
In fact albert einstein had a remarkable aptitude for mathematics from an early age. He began learning mathematics at the age of twelve. The misconception that he failed math might be the result of misreading tales about his early education or confusion about grading schemes