הֲל֤וֹא אִם־תֵּיטִיב֙ שְׂאֵ֔ת וְאִם֙ לֹ֣א תֵיטִ֔יב לַפֶּ֖תַח חַטָּ֣את רֹבֵ֑ץ וְאֵלֶ֙יךָ֙ תְּשׁ֣וּקָת֔וֹ וְאַתָּ֖ה תִּמְשָׁל־בּֽוֹ׃
네가 선을 행하면 어찌 낯을 들지 못하겠느냐 선을 행치 아니하면 죄가 문에 엎드리느니라 죄의 소원은 네게 있으나 너는 죄를 다스릴지니라
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).