Genesis 4:3-7King James Version (KJV)
3 And in process of time it came to pass, that Cain brought of the fruit of the ground an offering unto the Lord.
4 And Abel, he also brought of the firstlings of his flock and of the fat thereof. And the Lord had respect unto Abel and to his offering:
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, shalt thou not be accepted? and if thou doest not well, sin lieth at the door. And unto thee shall be his desire, and thou shalt rule over him.