Old Testament readings use the Septuagint , the Scripture the apostles quoted. Masoretic numbering shown for reference.Learn why
KJV

1 John 5:2

By this we know that we love the children of God, when we love God, and keep his commandments.

Read in other translations