R. Akiva says: "You shall not do (i.e., deport yourselves) with Me" as others do with their gods. When good befalls them, they honor their gods, viz. (Habakkuk 1:16) "Therefore, he sacrifices to his "nets" (i.e., to his idols, which "net" him riches). And when evil befalls them, they curse their gods, viz. (Isaiah 8:21) "… and he will curse his king and his gods." But, as for you, if I bring good upon you, you give thanks, and when I bring afflictions upon you, you give thanks.
And thus did David say (Psalms 116:3) "the cup of salvation shall I raise, and in the name of the L-td will I call" — (Ibid. 4) "Trouble and sorrow will I find, and in the name of the L–rd shall I call." And thus, Iyyov says (Iyyov 1:21) "the L–rd has given and the L–rd has taken — Let the name of the L–rd be blessed!" Both for the good and for the evil. What does his wife say to him? (Ibid. 2:9) "Do you still hold on to your innocence? Blaspheme G–d and die!" He answers (Ibid. 10) "You speak as one of the lowly ones!