Genesis 4:6-7
Genesis 4:6-7 NIV
Then the LORD said to Cain, “Why are you angry? Why is your face downcast? If you do what is right, will you not be accepted? But if you do not do what is right, sin is crouching at your door; it desires to have you, but you must rule over it.”