Immanuel Kant said this quote

The true religion is to be posited not in the knowledge or confession of what God allegedly does or has done for our salvation, but in what we must do to become worthy of this.