Matthew 5:43

You have heard that it was said, ‘Love your neighbor’ and ‘Hate your enemy.’

Note Leviticus 19:18

BSB · Berean Standard Bible
Ye have heard that it hath been said, Thou shalt love thy neighbour, and hate thine enemy.
KJV · King James Version
“You have heard that it was said, ‘You shall love your neighbor and hate your enemy.’

Note not in the Bible, but see Qumran Manual of Discipline Ix, 21-26

WEB · World English Bible
Ye have heard that it was said, Thou shalt love thy neighbor, and hate thine enemy:
ASV · American Standard Version

Related passages

From the Treasury of Scripture Knowledge, grouped by the word they explain.

Thou
Matthew 19:19; Matthew 22:39, 40; Leviticus 19:18; Mark 12:31–34; Luke 10:27–29; Romans 13:8–10; Galatians 5:13, 14; James 2:8
and hate
Exodus 17:14–16; Deuteronomy 23:6; Deuteronomy 25:17; Psalm 41:10; Psalm 139:21, 22