Affliction And Rejoiceth in the YLT
2 verses of the Young's Literal Translation have both "affliction" and "rejoiceth".
Proverbs 17:21 Whoso is begetting a fool hath affliction for it, Yea, the father of a fool rejoiceth not.
Jonah 4:6 And Jehovah God appointeth a gourd, and causeth it to come up over Jonah, to be a shade over his head, to give deliverance to him from his affliction, and Jonah rejoiceth because of the gourd with great joy.
In other translations: