John Bunyan said this quote

Prayer will make a man cease from sin, or sin will entice a man to cease from prayer.