Leviticus 19:17

15 You must not pervert justice; you must not show partiality to the poor or favoritism to the rich; you are to judge your neighbor fairly.

16 You must not go about spreading slander among your people. You must not endanger the life of your neighbor. I am the LORD.

You must not harbor hatred against your brother in your heart. Directly rebuke your neighbor, so that you will not incur guilt on account of him.

18 Do not seek revenge or bear a grudge against any of your people, but love your neighbor as yourself. I am the LORD.

19 You are to keep My statutes. You shall not crossbreed two different kinds of livestock; you shall not sow your fields with two kinds of seed; and you shall not wear clothing made of two kinds of material.

Do read the surrounding verses too, because the context often says more than a single verse.

Compare

BSB
You must not harbor hatred against your brother in your heart. Directly rebuke your neighbor, so that you will not incur guilt on account of him.
KJV
Thou shalt not hate thy brother in thine heart: thou shalt in any wise rebuke thy neighbour, and not suffer sin upon him.
WEB
“‘You shall not hate your brother in your heart. You shall surely rebuke your neighbor, and not bear sin because of him.
ASV
Thou shalt not hate thy brother in thy heart: thou shalt surely rebuke thy neighbor, and not bear sin because of him.
DARBY
Thou shalt not hate thy brother in thy heart; thou shalt earnestly rebuke thy neighbour, lest thou bear sin on account of him.
BLB
You shall not hate your brother in your heart. You shall surely rebuke your neighbor and you shall not you shall not lift up upon him sin.
ÅB
Du skal ikke hate din bror i ditt hjerte, men du skal irettesette din neste, for at du ikke skal få synd på deg for hans skyld.
OTB
Ikke hat din landsmann i ditt hjerte. Irettesett din nabo åpent, så du ikke deler hans skyld.
B1930
Du skal ikke hate din bror i ditt hjerte, men du skal irettesette din næste, forat du ikke skal få synd på dig for hans skyld.

Study notes (Tyndale)

Original text and word study

Cross references