If you say that someone is casting pearls before swine, you mean that they are wasting their time by offering something that is helpful or valuable to someone who does not appreciate or understand it.
You do not value what should be valued, I see I was casting pearls before swine.