O LORD, they sought You in their distress; when You disciplined them, they poured out a quiet prayer.