Answer:
Beowulf's boasting is shown as a good thing; he is showing everyone his qualifications for being a leader and is building up his fame in a world where fame is the only thing that lasts. He also shows himself worthy of heroic status by displaying generosity in giving much of his treasure to his followers.