1 John 3:24

22 and we will receive from Him whatever we ask, because we keep His commandments and do what is pleasing in His sight.

23 And this is His commandment: that we should believe in the name of His Son, Jesus Christ, and we should love one another just as He commanded us.

Whoever keeps His commandments remains in God, and God in him. And by this we know that He remains in us: by the Spirit He has given us.

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

Compare

BSB
Whoever keeps His commandments remains in God, and God in him. And by this we know that He remains in us: by the Spirit He has given us.
KJV
And he that keepeth his commandments dwelleth in him, and he in him. And hereby we know that he abideth in us, by the Spirit which he hath given us.
WEB
He who keeps his commandments remains in him, and he in him. By this we know that he remains in us, by the Spirit which he gave us.
ASV
And he that keepeth his commandments abideth in him, and he in him. And hereby we know that he abideth in us, by the Spirit which he gave us.
DARBY
And he that keeps his commandments abides in him, and he in him. And hereby we know that he abides in us, by the Spirit which he has given to us.
BLB
And the one keeping His commandments remains in Him, and He in him. And in this we know that He remains in us: by the Spirit whom He gave to us.
ÅB
Og den som holder hans bud, blir i ham og han i ham; og på dette kjenner vi at han blir i oss, av den Ånd som han gav oss.
OTB
Den som holder Hans bud, blir i Ham, og Han i ham. Vi vet ved dette at Han blir i oss, ved Ånden som Han har gitt oss.
B1930
Og den som holder hans bud, blir i ham og han i ham; og på dette kjenner vi at han blir i oss, av den Ånd som han gav oss.

Study notes (Tyndale)

Original text and word study

Cross references