"All the people saw him walking and heard him praising God. When they realized he was the lame beggar they had seen so often at the Beautiful Gate, they were absolutely astounded! They all rushed out in amazement to Solomon’s Colonnade, where the man was holding tightly to Peter and John. Peter saw his opportunity and addressed the crowd. “People of Israel,” he said, “what is so surprising about this? And why stare at us as though we had made this man walk by our own power or godliness? For it is the God of Abraham, Isaac, and Jacob—the God of all our ancestors—who has brought glory to his servant Jesus by doing this. This is the same Jesus whom you handed over and rejected before Pilate, despite Pilate’s decision to release him.
"
Acts of the Apostles 3:9-13 NLT. Peter saw the opportunity to preach and took it. The power was not for showing off they were the new thing in town. Peter clarified that the power was not to get people to start coming to them. The power was given so that they can effectively witness for Jesus. Jesus is the focus of the church, not miracles. Miracles, signs and wonders must all point to him otherwise, we create a new idol in church.