The devil helps his servants for a season; but when they get into a pinch; he leaves them in the lurch.
or simply: