Treasure in the first usage means precious gems like gold or silver . In its second use, it means to value something. Hope this helps. We could help more if I had the poem for sure posted here but this is the meaning from the poem I think you are talking about. Have a great day!