May I suggest that it is the other way 'round, perhaps. There is a small small core of stuff we should not do.
And then there is EVERYTHING ELSE! That we are free to do.
The ‘world’ that we are supposed to ‘hate’ is not the Earth, or the people in it - it is among other things:
" The Moral World. The moral world includes people indifferent or hostile to God, the God-hostile environment generally, and in the widest sense, corruption and evil summed up under the general term “the world.”
If the people of the world can be spoken of as “the world” in a neutral sense, “the world” can also refer to the subclass of indifferent and hostile people who reject God and his ways. Before the flood nearly all the people of the world became corrupt ( Gen 6:11 ). In Jesus’ time the world hated him ( John 7:7 ) and will hate his followers ( John 15:18-19 ). The world, ungodly people, cannot receive the things of God ( John 14:17 John 14:22 ; 16:8-9 ; cf. 1 John 3:1 ) and is not even worthy of the people of faith who live among them ( Heb 11:38 ).
In the New Testament the world also appears as a hostile environment. Because of the hatred of the world’s people, the Son asks the Father to protect his followers rather than remove them from their alien surroundings ( John 17:14-16 ). Paul expresses his indifference to the world by saying he “is crucified” as far as the world is concerned ( Gal 6:14 ). Seven times in 1 Corinthians 1-3 Paul refers to the world’s ignorance of God and its powerlessness to find him without the cross of Christ.
Because of the world’s hostility to God, it is full of corruption ( 2 Peter 1:4 ) and stands as a symbol of corruption. One cannot be friendly with the evil world and love God at the same time ( James 4:4 ; 1 John 2:15-17 ). Believers by their faith must “overcome the world” ( 1 John 5:4-5 ), killing whatever belongs to their “earthly nature” ( Col 3:5 ) and denying “worldly passions” ( Titus 2:12 )." biblestudytools.com