This words are most likely to be from Prince Harweda, from The Magic Prison Fairy Tale.
The story is about a boy who grew a selfish and peevish prince, his god-mother trying to save him from thinking only in himself sent him to an enchanted house, there he became one day unselfish as he learned to place others before him as he releases a bird one day.