הֲל֤וֹא אִם־תֵּיטִיב֙ שְׂאֵ֔ת וְאִם֙ לֹ֣א תֵיטִ֔יב לַפֶּ֖תַח חַטָּ֣את רֹבֵ֑ץ וְאֵלֶ֙יךָ֙ תְּשׁ֣וּקָת֔וֹ וְאַתָּ֖ה תִּמְשָׁל־בּֽוֹ׃
Se você agir bem, será elevado. Mas se não agir bem, o pecado está à porta, espreitando; e para você é o seu desejo, mas você deve dominá-lo.
The Midrash of Philo
Why is it that the expression used is not, because you do not offer rightly; but, because (or unless) you do not divide rightly? (Genesis 4:7).
On the Prayers and Curses Uttered by Noah when he Became Sober
[50] And a similar lesson is contained in a more striking form in the oracles in Genesis. For God says to the wicked one, “man, thou hast sinned, be still” (Gen. 4:7). This implies that while sin, inasmuch as it is movement and activity with vice as its motive, is liable to punishment, stillness, because it is stationary and quiescent, is exempt from arraignment and a means of safety.
On Husbandry
[127] Was it not owing to this, that, when Cain imagined that he had presented faultless sacrifices, a divine intimation was made to him not to be confident that his offering had met with God’s favour; for that the conditions of his sacrifice had not been holy and perfect? The divine message is this: “〈All is〉 not 〈well〉, if thou offerest rightly, but dost not rightly distinguish” (Gen. 4:7).