Genesis 4:5-7

4:5 but with Cain and his offering he was not pleased. So Cain became very angry, and his expression was downcast.

4:6 Then the Lord said to Cain, “Why are you angry, and why is your expression downcast? 4:7 Is it not true that if you do what is right, you will be fine? But if you do not do what is right, sin is crouching at the door. It desires to dominate you, but you must subdue it.”

Genesis 4:13-14

4:13 Then Cain said to the Lord, “My punishment is too great to endure! 4:14 Look! You are driving me off the land today, and I must hide from your presence. I will be a homeless wanderer on the earth; whoever finds me will kill me.”