Where are your gods, which you made for yourself? Let them arise and deliver you in the time of your affliction. It is a shameless request, in time of need and distress, to seek help from him whom they despised in peace. And it is to be read with the feeling of one rebuking: 'Let your gods, which you made for yourself, deliver you; so that, since God is the creator of men but man has made a god, necessity may prove what they can do whom you formerly worshiped when you were secure.'
Source: Commentary on Jeremiah