The Lord Jesus Christ died for the whole world:
John 1:29 The next day John seeth Jesus coming unto him, and saith, Behold the Lamb of God, which taketh away the sin of the world.
John 3:16-17 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. For God sent not his Son into the world to condemn the world; but that the world through him might be saved.
2 Corinthians 5:19 To wit, that God was in Christ, reconciling the world unto himself, not imputing their trespasses unto them; and hath committed unto us the word of reconciliation.
1 John 2:2 And he is the propitiation for our sins: and not for ours only, but also for the sins of the whole world.
again, ripping a verse from the context within which the Author of Scripture has placed it is improper interpretation of Scripture ... aka eisegesis ...
Exegesis and eisegesis are two conflicting approaches in Bible study. Exegesis is the exposition or explanation of a text based on a careful, objective analysis. The word exegesis literally means “to lead out of.” That means that the interpreter is led to his conclusions by following the text.
The opposite approach to Scripture is eisegesis, which is the interpretation of a passage based on a subjective, non-analytical reading. The word eisegesis literally means “to lead into,” which means the interpreter injects his own ideas into the text, making it mean whatever he wants.
Obviously, only exegesis does justice to the text. Eisegesis is a mishandling of the text and often leads to a misinterpretation. Exegesis is concerned with discovering the true meaning of the text, respecting its grammar, syntax, and setting. Eisegesis is concerned only with making a point, even at the expense of the meaning of words.
While you should read beginning at Galatians 3:1 in order to understand what it is that God wants you to understand concerning vs 13 ... at the very least, you should read Galatians 3:14 because the verse answers your very limited question:
Galatians 3:13-14 Christ hath redeemed us from the curse of the law, being made a curse for us: for it is written, Cursed is every one that hangeth on a tree: That the blessing of Abraham might come on the Gentiles through Jesus Christ; that we might receive the promise of the Spirit through faith.
.