7 On the contrary, they saw that I had been entrusted to preach the gospel to the uncircumcised, just as Peter had been to the circumcised. -Galatians 2:7 BSB
The phrase “they saw” is in reference to the highly esteemed ones: James, Peter, and John (see verse 6 and its commentary), who understood that Paul’s revelation from the Lord (see verse 2 and its commentary) was the same as the gospel that Jesus preached while He was with His disciples. The Holy Spirit was the one who directed Paul to preach the good news of Jesus Christ to the Gentiles (the uncircumcised).
2 While they were worshiping the Lord and fasting, the Holy Spirit said, “Set apart for Me Barnabas and Saul for the work to which I have called them.” -Acts 13:2 BSB
46 Then Paul and Barnabas answered them boldly: “It was necessary to speak the word of God to you first. But since you reject it and do not consider yourselves worthy of eternal life, we now turn to the Gentiles. -Acts 13:46 BSB
The ministry of the apostle Paul was to bring people to faith in Jesus Christ and plant churches and appoint elders in them to give them a place to attend for worship and learn the Word of God. He planted churches in many places where he preached the gospel in.
23 Paul and Barnabas appointed elders for them in each church, praying and fasting as they entrusted them to the Lord, in whom they had believed. -Acts 14:23 BSB
36 Some time later Paul said to Barnabas, “Let us go back and visit the brothers in every town where we proclaimed the word of the Lord, to see how they are doing.” -Acts 15:36 BSB