It comes from the Bible: To feed on ashes (Isaiah 44:20), means to seek that which will prove to be vain and unsatisfactory, and hence it denotes the unsatisfactory nature of idol-worship.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.