In The Hobbit, the three-way standoff (Dwarves, Lake-men, Elves) is broken when Gandalf announces the Goblin/Warg army approaching. The Eagles then arrive, turning the tide. The Dwarves, Men, and Elves unite against the common foe.
The Eagles' intervention is the eucatastrophe that forces alliance.