1 John 3:12

not as Cain who was of the wicked one and murdered his brother. And why did he murder him? Because his works were evil and his brother's righteous.

Surrounding context

3:11 For this is the message that you heard from the beginning, that we should love one another,

3:12 not as Cain who was of the wicked one and murdered his brother. And why did he murder him? Because his works were evil and his brother's righteous.

3:13 Do not marvel, my brethren, if the world hates you.

Translation and sources