It is one or the other.
James 4: 4 You adulterous people, don’t you know that friendship with the world is hatred toward God? Anyone who chooses to be a friend of the world becomes an enemy of God.
1 John 2:15-16 Do not love the world or anything in the world. If anyone loves the world, the love of the Father is not in him. For everything in the world—the cravings of sinful man, the lust of his eyes and the boasting of what he has and does—comes not from the Father but from the world.
If your church teaches otherwise, it isn’t a church. Jesus is the only way to salvation.
1 John 5:12-13 He who has the Son has life; he who does not have the Son of God does not have life. I write these things to you who believe in the name of the Son of God so that you may know that you have eternal life.