NIV                  NKJ                 KJV

 Gen 4:3-7
3    In the course of time Cain brought some of the fruits of the soil as an offering to the LORD.
4    But Abel brought fat portions from some of the firstborn of his flock. The LORD looked with favor on Abel and his offering,
5    but on Cain and his offering he did not look with favor. So Cain was very angry, and his face was downcast.
6    Then the LORD said to Cain, "Why are you angry? Why is your face downcast?
7    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 master it."
(NIV)
Gen 4:3-7
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."
(NKJ)

Gen 4:3-7
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.
(KJV)