To be fair, Anakin didn't have great dueling skills. He wasn't a practitioner of Djem So at that point, only Shien. He only pulled through because he's that ****ing powerful that he can compete for a time. We also know that Anakin didn't practice his dueling either, since he was overconfident.
Just adding that in for context.