God giveth and God taketh away

What is the origin of the phrase "God giveth and God taketh away"?

From Bible Gateway online:

Job 1:21 (King James Version)

And said, Naked came I out of my mother's womb, and naked shall I return thither: the LORD gave, and the LORD hath taken away; blessed be the name of the LORD.