That seems to be one of those truisms many people repeat (like almah being mentioned only twice), but they are simply echoing someone else who hasn't read both source.
Here is a comparison from Genesis 4, v 7 (in Tanach it's verses 6 and 7).
7Have you not sinned if you have brought it rightly, but not rightly divided it? Be still, to you shall be his submission, and you shall rule over him. [LXX] | 6 And the Lord said to Cain, "Why are you annoyed, and why has your countenance fallen? 7 Is it not so that if you improve, it will be forgiven you? If you do not improve, however, at the entrance, sin is lying, and to you is its longing, but you can rule over it." [Tanach] |
BTW that TANACH translation sounds like it was done by the NIV translators. Here is a better one from Mechon-Mamre.org:
" 5 but unto Cain and to his offering He had not respect. And Cain was very wroth, and his countenance fell. 6 And the LORD said unto Cain: 'Why art thou wroth? and why is thy countenance fallen? 7 If thou doest well, shall it not be lifted up? and if thou doest not well, sin coucheth at the door; and unto thee is its desire, but thou mayest rule over it.'"