Write a poem about the battle of the five armies, described in The Hobbit by J. R. R. Tolkien. It should mainly focus on the heroic deeds of Thorin Oakenshield and his eventual demise.
From the Lonely Mountain, Thorin came,
To reclaim his gold and earn his fame,
The Dwarven king, bold and brave,
With his kin, their land to save.

But battles brew, and armies rise,
The clash of swords, the battle cries,
Goblins, Wargs, and Men unite,
To take the gold with all their might.

Thorin fought with all his heart,
Leading his army from the start,
The clash of steel, the pounding beat,
His bravery would not be beat.

The battle raged for days and nights,
With arrows flying, and sword fights,
The Dwarves stood strong, their spirits high,
Determined not to let their foes get by.

But Thorin's fate was sealed in stone,
His greed had left him all alone,
As he fought with Azog, the Pale,
His end was near, he could not prevail.

In his last moments, he looked around,
At his kin, with sorrow profound,
He had won the battle, but lost his heart,
For his greed had torn them all apart.

And as his life slipped away,
His kin knew he'd led them to this day,
And though they mourned his loss that night,
They knew his legacy would shine bright.

For Thorin Oakenshield, the Dwarven king,
Had fought with honor, and everything,
And though he'd paid the ultimate cost,
His bravery would never be lost.
Awesome! Could you add a verse about his interactions with Bilbo?