I owe my career to not doing math homeworks. School math wasn't something I cared about, but I wanted to make games so I learned programming instead of doing math problems. Ended up catching up with the math through gamedev anyway - it was very easy to learn once I cared about it.
In the end I had mediocre math grades throughout school, but learned a ton of skills I now use to create stuff.