A pearl is formed through an irritant In the clam or oyster. It keeps moving the irritant around until it becomes a smooth pearl.
Perhaps that irritant, annoyance, and suffering in your life is to produce that pearl of great price.
In the gospel, the pearl of great price, is compared to the kingdom of God, something a person sells everything they have to obtain.
Wisdom is also described as a pearl (and a female.)
With a clam, suffering produces the Pearl in it's heart. Perhaps suffering in your life is what is producing pearls in your heart that you most treasure?
Jesus was a member of the Roman Empire. The Roman Empire treasured pearls above almost everything else.
Maybe the fruit of your suffering is producing what you want to treasure the most?