flunk out
flunk out (of school)
to be forced to leave school because of failing work.
He had been a computer-science student before he flunked out of a California university.
Cambridge English Idioms Dictionary