Choose the alternative which best expresses the meaning of the idiom / phrase.

To cast pearls before a swine :

A. To offer some a thing which he cannot appreciate

B. To bring something good before the eyes of a greedy person

C. To spend racklessly on a useless fellow

D. To indulge in fruitless endeavours

Please do not use chat terms. Example: avoid using "grt" instead of "great".