He said this to indicate what kind of death he would glorify God with. When He had said this, He told Peter, “Follow me!”