Alaric lost to Stilicho. He wasn’t undefeated against the Romans. It was only after Honorius in his eternal wisdom had Stilicho executed in bull shit charges that the Goths were able to enter unopposed into Italy and sack Rome.
It also helped that the other Regent of East Rome was bought out by Alaric and allowed him to retreat. While blocking the West Romans.