Genesis 4:3-5

4:3 At the designated time Cain brought some of the fruit of the ground for an offering to the Lord. 4:4 But Abel brought some of the firstborn of his flock – even the fattest of them. And the Lord was pleased with Abel and his offering, 4:5 but with Cain and his offering he was not pleased. So Cain became very angry, and his expression was downcast.