True, St Paul says that God “desires all men to be saved and to come to the knowledge of the truth” (1 Timothy 2:4). When speaking of the little children, Jesus said that it is not the will of his Father in heaven that any of them should perish. This is God’s universal salvific will.
Jesus is the universal Redeemer of all mankind and the Church teaches that he died for all men without exception, to save them. By his sacrifice on the cross, Jesus merited all the graces necessary to save all human beings so every human being without exception is given sufficient grace to save their soul. The CCC#1260 says “Since Christ died for all, and since all men are in fact called to one and the same destiny, which is divine, we must hold that the Holy Spirit offers to all the possibility of being made partakers, in a way known to God, of the Paschal mystery” (Guadium et spes, 22).
In the encyclical, HAURIETIS AQUAS - On Devotion to the Sacred Heart, Pope Pius XII wrote:
88. It is beyond doubt, then, that His heavenly Father “Who spared not even His own Son, but delivered Him up for us all,”(93) when appealed to with such loving urgency by so powerful an Advocate, will, through Him, send down on all men an abundance of divine graces.
And St Peter said “Truly I perceive that God shows no partiality,
but in every nation any one who fears him and does what is right is acceptable to him” (Acts 10: 34-35).
As the Church teaches, God is not limited in the bestowal of his grace to the sacraments of the Church though these are the ordinary means. Yet, at the same time, “all salvation comes from Christ the Head through the Church which is his body” (CCC#846) and the Church is the universal sacrament of salvation (CCC#774). The Church as Christ’s body and united to Christ as his inseparable bride is mysteriously linked through Jesus, the universal Redeemer, to the whole human race and their salvation and all those who are not formal members of the Church. In this connection, the declaration from the Congregation of the Doctrine of the Faith, DOMINUS IESUS, issued by Cardinal Joseph Ratzinger and authorized by St John Paul II, it says:
The Church is the “universal sacrament of salvation”, since, united always in a mysterious way to the Saviour Jesus Christ, her Head, and subordinated to him, she has, in God’s plan, an indispensable relationship with the salvation of every human being… With respect to the way in which the salvific grace of God — which is always given by means of Christ in the Spirit and has a mysterious relationship to the Church — comes to individual non-Christians, the Second Vatican Council limited itself to the statement that God bestows it “in ways known to himself”.
Every Mass the Church celebrates is offered for the salvation of the whole world as the sacrifice of the Mass is the same sacrifice that Jesus made on the cross for all mankind and so a rich supply of graces is shed on the whole human race in every Mass.