So the LORD said to Cain, “Why are you angry? And why has your countenance fallen? 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.”
Now Cain talked with Abel his brother; and it came to pass, when they were in the field, that Cain rose up against Abel his brother and killed him.
Then the LORD said to Cain, “Where is Abel your brother?”
It's good to know that our sin will not prevent the LORD from speaking to us!
He speaks to us before we sin, and He still speaks to us afterwards.