Genesis 4:3-5 NIV

3 In the course of time Cain brought some of the fruits of the soil as an offering to the LORD.

References for Genesis 4:3

4 And Abel also brought an offering—fat portions from some of the firstborn of his flock. The LORD looked with favor on Abel and his offering,

References for Genesis 4:4

5 but on Cain and his offering he did not look with favor. So Cain was very angry, and his face was downcast.