Answer:
Beowulf thanks God for his last glance of the treasure and the fact that he is going to die "well endowed" with gold. He's traded his life for this golden hoard. Beowulf orders Wiglaf to build a barrow for him on the coast after his body has been burned on a funeral pyre.
I apologize in advance if its not what you were looking for