What does Acts 5:5 mean?
Neither Peter nor the church had the civic authority to judge people and condemn them to death. Even Jesus was careful to only speak the words of His Father (John 14:10). Peter has extra reason to be circumspect in his judgment of Ananias. Satan has filled Ananias with rebellion against God (Acts 5:3). At one point, Peter allowed Satan to push him to rebuke Jesus (Mark 8:32–33). Only the indwelling of the Holy Spirit could make Peter pronounce such strong judgment, and it's obvious it is the Holy Spirit who kills Ananias.It is consistent with the history of Israel for God to make a strong statement at the beginning stages of a great shift in His work. Before the Israelites were out of the desert, Aaron's sons Nadab and Abihu gave an offering to God that He did not endorse; God responded by consuming them with fire (Leviticus 10:1–2). As Joshua began to lead the Israelites into their inheritance, a man named Achan took spoils that God had claimed for Himself. God demanded Achan's execution (Joshua 7). When the Jews came back to Jerusalem from captivity in Babylon, many had married women from cultures God strictly forbade. They had just returned from a seventy-year punishment for worshiping foreign gods, and now they had wives who would lead them to do so again. God ordered them to separate from both their wives and their children in order to protect the re-establishment of godly Jewish culture (Ezra 9—10).
God explained His strong measures to Aaron after the death of his sons: "Among those who are near me I will be sanctified, and before all the people I will be glorified" (Leviticus 10:3). A strong beginning is essential for any kind of lasting change.
Acts 5:1–11 contains the unfortunate story of Ananias and Sapphira. While the story of Peter and John's arrest by the Sadducees shows the beginning of problems outside the church (Acts 4), the account of Ananias and Sapphira reveals issues inside the church. As people listen to the witness of the apostles and come to a saving faith in Jesus, they donate what they have so that everyone in the church has what they need (Acts 4:32–37). Ananias and Sapphira want to join the wave of altruism, but not completely. God loves generosity, but not shallow performances which attempts to make a fool of Him and His people.
The apostles continue to make hard decisions in the name of Jesus, both inside and outside the church. When Ananias and Sapphira lie to God, the Holy Spirit inspires Peter to pronounce God's judgment on them, protecting the church from the love of the world. Despite the Sanhedrin's watchful eye—and direct orders (Acts 4:17–18)—the apostles continue to preach and heal openly. The guards arrest the apostles, but the Sanhedrin settles for beating them instead of capital punishment. The apostles consider it an honor to suffer on behalf of their Savior.