Then the king’s anger was turned to pity and tears because of the things that he had devised earlier.
The king’s anger was changed into pity and tears because of the schemes that he had previously devised.
The king’s wrath was converted into compassion; and he wept at the things he had devised.
Then the king's anger was turned to pity and tears because of the things that he had devised beforehand.