The above statement is taken from Romans 10:4.
This statement by Apostle Paul is significant: we need to understand this clearly in appreciating the gospel and what God has done for mankind in order to save humans from hell, destruction, and death; and to give them Life, and for them to be saved.

Salvation is relationship with God and a place in the new world where God will live in fellowship with His people. After the Fall, our rebellion and wickedness has both been exposed and condemned by the law – and this has disqualified us from Salvation.
There are those who pursued righteousness and God’s acceptance by seeking to obey the law (among them are those from Israel and many religious groups).
But Paul reminded people that if they choose the way of the law for salvation, they need to keep the law fully (Rom.10:5) i.e. the person who has done the law fully will live by it – the breaking of one law of God is tantamount to breaking all the rest. We are not talking about naughtiness, but the breaking of God’s law; to do something which the Sovereign of the Universe has forbidden is to put ourselves enormously out of line.
The historical Anselm of Canterbury once asked his friend what he should do if God were to command him under no circumstances to do a particular thing, but he had reason to believe that unless he did it the whole world would be destroyed. His friend answered correctly that since it was the Creator of the world who commanded, he should obey HIs command, even if it meant the destruction of the world. Anselm concluded from this that the smallest breaking of God’s commandments is more serious than the destruction of the world. We are complacent about sin’s seriousness because we have such small regard for God – this fact alone should convince us that our position is perilous. What we regard as minor sins are symptomatic of total disorder in our relationship with the Maker.
We must realise that none of God’s commandments is trivial; if we break God’s law we put ourselves out of relationship with Him. All of us have done that. But now God has opened a new way for us to stand before HIm, the way of righteousness by faith. The principle that emerges from this is that God gives His blessing to people apart from their deserving it and, therefore, obviously on some other basis than their righteousness in obeying the law. And that brings us to the GOSPEL and CHRIST. The gospel is heaven’s declaration of Christ’s victory over sin and death and His enthronement as the final power and authority in heaven and earth; it is also God’s gracious invitation to a place in His kingdom – entry into a right standing with God is gained by trusting in a simple message which is open and public.

Paul answers the question, ‘who will be saved’ by affirming that no one who believes in Jesus will be put to shame. The one who believes in Jesus will be saved; Christ’s followers will never be abandoned. In this age they may be rejected and mocked, but in the fullness of time their lot will be the joy of seeing their faith vindicated and their wildest dreams fulfilled.

Christ is the goal of the law:
First in the sense that the OT Scripture looks forward to a fulfilment in the latter days. Its prophetic revelation is incomplete and predicts the coming of a great prophet (Deuteronomy 18:15). Its pattern of kingship and kingdom foreshadows a greater King and a great Kingdom still to come (2 Samuel 7). Its rituals of sacrifice and redemption look forward to a final sacrifice and an ultimate redemption (Isaiah 53; Daniel 9:24). All these came with Jesus Christ. Hence when we preach and teach the OT, we must be fully conscious that the application points in many instances to Christ and His mission which will be fulfilled in the NT.

The second manner in which Christ is the goal of the law is that he is the first and only human being ever to fully comply with the law. The only charges of law-breaking ever brought against Jesus were that he healed on the Sabbath and that he was a blasphemer. He argued that to heal as he did on the Sabbath was not to desecrate it, but to fulfil that for which the Sabbath stood; the ushering of human beings into fulfilment and wholeness. His alleged blasphemy was an admission that he was the Son of Man who would return in the clouds of heaven. Only the perfect man can die for others and pay for their sin; Only the God-man can absorb all the ‘wrath’ of God against sin, die, and be resurrected and ascended to the right hand of God the Father. We believe in a living Saviour and Lord, not in a dead religious leader.

The third way in which Christ is both the goal and the end of the law is that as their priest-king he perfectly represented his people in obedience to the law, paid out their debts, and brought to an end the law’s claim on them. This he did by representing each one in death, and paying for them the law’s ultimate penalty (Rom.7:1-6).

The law still stands as a revelation of the will and plan of God and as a guide to the good life, though as law it has come to an end for those who are in Christ