When someone refers to a pearl of wisdom they are referring to something that someone has said or written that is helpful or they deem to be a wise statement.
Wisdom, wise choices, and wise words are enduring and are liken to a treasure, like a pearl, that continues to teach and nurture you throughout time.