Here's the first mention of world:
1 Samuel 2:8 He raiseth up the poor out of the dust, and lifteth up the beggar from the dunghill, to set them among princes, and to make them inherit the throne of glory: for the pillars of the earth are the Lord's, and he hath set the world upon them.
This definition remains true throughout Scripture including John 3:16. It's not the world of the elect...
I think Dino answered you referring to the above.
Here is what cosmos can mean in given context.
- an apt and harmonious arrangement or constitution, order, government
- ornament, decoration, adornment, i.e. the arrangement of the stars, 'the heavenly hosts', as the ornament of the heavens. 1 Pet. 3:
- the world, the universe
- the circle of the earth, the earth
- the inhabitants of the earth, men, the human family
- the ungodly multitude; the whole mass of men alienated from God, and therefore hostile to the cause of Christ
https://www.biblestudytools.com/lexicons/greek/nas/kosmos.html
And:
Dictionary:
κόσμος, ου, -ὁ
Greek transliteration:
kosmos
Simplified transliteration:
kosmos
Numbers
Strong's number: 2889; GK Number: 3180
Statistics
Frequency in New Testament: 186
Gloss:
world: earth, world system, whole universe; adornment. In some contexts, the world is simply the place where people live, in other contexts (especially in John), the world is a system opposed to God
Definition:
(1) pr. order, regular disposition; ornament, decoration, embellishment, 1 Pet. 3:3;
(2) the world, the material universe, Mt. 13:35;
- the world, the aggregate of sensitive existence, 1 Cor. 4:9;
- the lower world, the earth, Mk. 16:15;
- the world, the aggregate of mankind,Mt. 5:14;
- the world, the public, Jn. 7:4; in NT the present order of things, the secular world, Jn. 18:36;
- the human race external to the Jewish nation, the heathen world, Rom. 11:12, 15;
- the world external to the Christian body, 1 Jn. 3:1, 13;
- the world or material system of the Mosaic covenant, Gal. 4:3; Col. 2:8, 20
https://www.billmounce.com/greek-dictionary/kosmos