He was encouraged because they had been brought out of widespread immorality and he had confidence they would be kept from evil.
Watch the Teaching: Why Didn't God Answer Paul's Prayer to Escape Suffering?