Mathew 7:6 “Do not give what is holy to dogs, and do not throw your pearls before swine, or they will trample them under their feet, and turn and tear you to pieces.
This is a description of those in darkness; they hate light in their hearts which are filled with wickedness, so they turn and attack the child of God, who has shared spiritual light/truth.
Do you think this passage is addressing only the outwardly wicked? Think again, the worst enemies are those who adorn themselves in white raiment, (as to be seen as) fit for the Bridegroom, but are inwardly ravenous wolves with vermin, stalking the weakest sheep!