The phrase the whole counsel of God is found in Acts 20:27. In his farewell speech to the elders of the Ephesian church, Paul says, “Therefore I testify to you this day that I am innocent of the blood of all, for I did not shrink from declaring to you the whole counsel of God” (Acts 20:26–27, ESV). Declaring the whole counsel of God is what made Paul “innocent” of anyone’s choice to turn away from the truth. Paul had fulfilled his ministry among the Ephesians.
Paul spent several years in Ephesus prior to this speech. When he first arrived in Ephesus, Paul had found some disciples who had only heard of John the Baptist and did not yet know of the completed ministry of Jesus or the coming of the Holy Spirit. After bringing them up to speed by presenting Jesus to them, Paul baptized them “in the name of the Lord Jesus” (Acts 19:4–5). Paul then spent time teaching in the synagogue and, when he was opposed there, taught at the lecture hall, and “all the Jews and Greeks who lived in the province of Asia heard the word of the Lord” (Acts 19:10). Verse 20 says, “The word of the Lord spread widely and grew in power.” Later, a group of merchants in Ephesus started a riot over the positive impact of the gospel in their city. After the riot ended, Paul said goodbye to the disciples in Ephesus before going to Macedonia. Several months later, on his way to Jerusalem, Paul called the Ephesian elders to Miletus to meet with him. It is here that Paul reminds the Ephesians that he had “not hesitated to proclaim . . . the whole will of God” (Acts 20:27). Read more at GotQuestions.org