Any successful CPA who have failed courses before?

I’m looking for some motivation / story from successful CPAs in Canada or USA, who had a hard time in university but found their path later on. I recently failed Corporate finance course, and got a D for Cost accounting. Both are requirement to enter CPA Pep program, and I need a minimum of 60%, but the university doesn’t allow me to retake to get higher grade, unless I failed the course (so now I’m stuck with the D).

I have been working on going to networking events and participating in more extracurriculars, but my uni is very competitive so there are too many excellent students who have a better profile than me. So, now I’m scared that my grade will influence recruiters’ decision making when they decide if they should hire me or not.

Thanks for reading.