kigmatzomat
Legend
Why does the encounter even exist if the goblins have no chance and it's not part of a storyline?
Some combats are world building. A sizeable band of goblins will attack any small force they encounter because that's what they do to intruders. Once it becomes clear that the adventurers are going through them like a hot knife through butter, they should change tactics. Maybe scatter, set fire to everything, grovel, whatever.
Let's say the players basically say "stay out of our way" and continue on. This *could" be the end of it, or maybe not. The surviving goblins are going to talk. This will get into the gossip of the region. Hobgoblins, hill giants, orks, lizardfolk, even fey may become aware of the players, especially if they are distinctive.
This could flavor how others interact with them, or even cause them to be sought out, either to assert dominance or ask for help.