It was said that Peter’s death would “glorify God.” Obviously, it is not only necessary to glorify God in one’s life but also possible to glorify God in death.
It takes a person with strong conviction to be willing to die for a cause. However, the one martyred is not necessarily a mature and complete Christian.