Samuel Butler said this quote

Prayers are to men as dolls are to children.