The troll is trying to convince Sir Mannelig (Swedish: Herr Mannelig) to marry her. She offers him many great gifts but he refuses her, because she is not a Christian woman but a troll (a dysphemism for a Pagan woman). She is desperate about her failure, because winning Sir Mannelig would have "freed her of her torment" (presumably of a curse).