What is the meaning of the idiom/ proverb "To cast pearls before a swine"?

A ) To spend recklessly

B ) To spend a lot of money on the up keep of domestic

C ) To waste money over trifles

D ) To offer to a person a thing which he cannot appreciate ✅