2 John 1:6

4 I was overjoyed to find some of your children walking in the truth, just as the Father has commanded us.

5 And now I urge you, dear lady—not as a new commandment to you, but one we have had from the beginning—that we love one another.

And this is love, that we walk according to His commandments. This is the very commandment you have heard from the beginning, that you must walk in love.

7 For many deceivers have gone out into the world, refusing to confess the coming of Jesus Christ in the flesh. Any such person is the deceiver and the antichrist.

8 Watch yourselves, so that you do not lose what we have worked for, but that you may be fully rewarded.

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

Compare

BSB
And this is love, that we walk according to His commandments. This is the very commandment you have heard from the beginning, that you must walk in love.
KJV
And this is love, that we walk after his commandments. This is the commandment, That, as ye have heard from the beginning, ye should walk in it.
WEB
This is love, that we should walk according to his commandments. This is the commandment, even as you heard from the beginning, that you should walk in it.
ASV
And this is love, that we should walk after his commandments. This is the commandment, even as ye heard from the beginning, that ye should walk in it.
DARBY
And this is love, that we should walk according to his commandments. This is the commandment, according as ye have heard from the beginning, that ye might walk in it.
BLB
And this is love, that we should walk according to His commandments. This is the commandment, just as you⁺ heard from the beginning, so that you⁺ should walk in it.
ÅB
Og dette er kjærligheten at vi vandrer etter hans bud. Dette er budet, slik som dere hørte det fra begynnelsen, at dere skal vandre etter det.
OTB
Og dette er kjærligheten, at vi lever etter hans bud. Dette er budet, slik som dere har hørt fra begynnelsen, at dere skal vandre i det.
B1930
Og dette er kjærligheten at vi vandrer efter hans bud. Dette er budet, således som I hørte det fra begynnelsen, at I skal vandre efter det.

Study notes (Tyndale)

Original text and word study

Cross references