תְּיַסְּרֵ֣ךְ רָעָתֵ֗ךְ וּמְשֻֽׁבוֹתַ֙יִךְ֙ תּוֹכִחֻ֔ךְ וּדְעִ֤י וּרְאִי֙ כִּי־רַ֣ע וָמָ֔ר עָזְבֵ֖ךְ אֶת־יְהוָ֣ה אֱלֹהָ֑יִךְ וְלֹ֤א פַחְדָּתִי֙ אֵלַ֔יִךְ נְאֻם־אֲדֹנָ֥י יְהוִ֖ה צְבָאֽוֹת׃
네 악이 너를 징계하겠고 네 패역이 너를 책할 것이라 그런즉 네 하나님 여호와를 버림과 네 속에 나를 경외함이 없는 것이 악이요 고통인 줄 알라 주 만군의 여호와의 말이니라
Duties of the Heart
The evil inclination then forced them to suffer the pain of [being tossed by] its waves. This world rules over them and stops up their ears and shuts their eyes. There is not one of them who does not occupy himself with indulging in its pleasures whenever he can reach it and an opportunity presents itself. This is his torah and his religion, until he is led completely astray from his G-d, as written: "Your own wickedness shall correct you, and your backsliding shall reprove you... [know that it is evil and bitter that you have forsaken the L-ord your G-d]" (Yirmiya 2:19).
Sefer HaIkkarim
Chapter six maintains that human acts do not all lead to the realization of the purpose of man. The difficulty is pointed out of drawing a line of demarcation between those acts which do and those which do not lead to human perfection. It is explained how this can be done and it is maintained that the joy or the sorrow resulting from an act is a good criterion, as is proved from the verses Jeremiah 2, 19 and Psalm 119, 14.