Psalm 106:45 in the King James Version
And he remembered for them his covenant, and repented according to the multitude of his mercies.
Context
44 Nevertheless he regarded their distress, when he heard their cry.
45 He remembered for them his covenant, and repented according to the multitude of his loving kindnesses.
46 He made them also to be pitied by all those who carried them captive.