Thorin realizes that there is more to life than gold, silver, and gems and he tells Bilbo that. Thorin also tells Bilbo that there is much good in Bilbo with courage and wisdom blended in! Thorin wishes more people valued food, cheer, and song above hoarded gold because it would make a happier world.
Bilbo has come to love Thorin despite his lust for getting his home and hoard back. I think Bilbo is very happy to hear Thorin say there is more to life than gold. Bilbo is sad that it took a great battle and mortal wounds for Thorin to realize that.
I was happy when I read Thorin's last words, too. I was very willing to forgive Thorin and sad that he realized what he did so late to enjoy that way of life. But at least he did and I was glad of that.
"You stand between me and my lord and kin. Begone, if you be not deathless! For living or dark undead, I will smite you, if you touch him!"