“Do not give dogs what is sacred; do not throw your pearls to pigs. If you do, they may trample them under their feet, and turn and tear you to pieces.
(Matthew 7:6)

When reading this passage, I keep reading this segment as advice towards resource management. The miracle of the crowd feeding by Jesus in John 6:1-14, reveals an 'anti-waste' nature from Jesus (reference John 6:12).

And the passage of Matthew 7:6 clearly expresses the same 'anti-waste' nature that Jesus has.
In life,we should not spend our precious resources where it will be trampled or where it will be undervalued because eventually, those resources will be torn into pieces.

This advice is valid for business, dating, social interactions, relationships and many more.
Sometimes, before investing certain resources, we ought to assess the object or the person we are investing in. Some of those objects and/or people are only good at tearing and trampling pearls.

If you date 'pigs and dogs', you will regret your investment. If you invest in people who fail to assess the true value of pearls', you will regret.

Before investing in certain objects and people, I think it is wise to assess their value system 'vis-à-vis' the resources we want to plant in them.