Genesis 4:1-7, NKJV
Now Adam knew Eve his wife, and she conceived and bore Cain, and said, “I have acquired a man from the Lord.” 2 Then she bore again, this time his brother Abel. Now Abel was a keeper of sheep, but Cain was a tiller of the ground. 3 And in the process of time it came to pass that Cain brought an offering of the fruit of the ground to the Lord. 4 Abel also brought of the firstborn of his flock and of their fat. And the Lord respected Abel and his offering, 5 but He did not respect Cain and his offering. And Cain was very angry, and his countenance fell.
6 So the Lord said to Cain, “Why are you angry? And why has your countenance fallen? 7 If you do well, will you not be accepted? And if you do not do well, sin lies at the door. And its desire is for you, but you should rule over it.” (Genesis 4:1-7, NKJV)