1 John 2: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.
17 And the world passeth away, and the lust thereof: but he that doeth the will of God abideth for ever.
Now we see we can know God by doing His will and not loving the things of this world. These verse plainly and simply tell us that if we love the things of this world the Father is not in us. It tells us that the lust of the flesh an of the eyes and our pride is of the world and not a part of the Father. We should not love this world because it will pass away along with the lust that goes with it. It ends up telling us though that if we will do the will of the Father we will abide with Him forever. We need to walk with God everyday to be able to resist the things of this of this world.