1 John 2:17

15 Love not the world, neither the things that are in the world. If any man love the world, the love of the Father is not in him.

16 For all that is in the world, the lust of the flesh, and the lust of the eyes, and the pride of life, is not of the Father, but is of the world.

And the world passeth away, and the lust thereof: but he that doeth the will of God abideth for ever.

18 Little children, it is the last time: and as ye have heard that antichrist shall come, even now are there many antichrists; whereby we know that it is the last time.

19 They went out from us, but they were not of us; for if they had been of us, they would no doubt have continued with us: but they went out, that they might be made manifest that they were not all of us.

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

Compare

BSB
The world is passing away, along with its desires; but whoever does the will of God remains forever.
KJV
And the world passeth away, and the lust thereof: but he that doeth the will of God abideth for ever.
WEB
The world is passing away with its lusts, but he who does God’s will remains forever.
ASV
And the world passeth away, and the lust thereof: but he that doeth the will of God abideth for ever.
DARBY
And the world is passing, and its lust, but he that does the will of God abides for eternity.
BLB
And the world is passing away, and its desire; but the one doing the will of God remains to the age.
ÅB
Og verden forgår og dens lyst; men den som gjør Guds vilje, blir til evig tid.
OTB
Verden svinner bort og dens begjær også; men den som gjør Guds vilje, lever evig.
B1930
Og verden forgår og dens lyst; men den som gjør Guds vilje, blir til evig tid.

Study notes (Tyndale)

Original text and word study

Cross references