The only time that the Avengers have ever defeated Galactus was when he was extremly weak.
Of course this was with the help of the FF and had one of the absolute coolest finishers ever. Mr. Fantastic being used as a giant rubber band and flinging the Thing straight at Galactus's face. 😆
Truely one of comics greatest moments