Did I make a mistake?

At my school, the 9th grade history teachers (we were 7-9, and 10-12) made everyone think if you weren’t amazing at history you would fail AP Euro. I took the course anyway and got my highest grade ever and a 5 on the exam. It’s very possible the teacher did something like that