"Do not give what is holy to dogs, and do not throw pearls before swine, lest they trample them under their feet, and turn and tear you to pieces." (Matthew 7:6). Of course, these words of Jesus are allegorical. I doubt that any were literally casting pearls before swine. The meaning is pretty simple to figure out; "Do not persist in offering what is sacred or of value to those who have no appreciation for it, because your gift will not only become contaminated and be despised, your generous efforts could also be rebuffed and perhaps even openly attacked."
If you are capable of doubting that Christ was speaking literally of casting pearls before swine, why are you incapable of doubting that God created the Heavens and the Earth in 6 24-hour days?