For whoever wants to keep his life safe will lose it, and whoever gives up his life on account of me and of the gospel will keep it.
In context
33But Jesus turned, looked at his disciples, and rebuked Peter: “Get behind me, Satan. Your mind is not on the things of God, but on the things of men.” 34He called the crowd to him, along with his disciples, and said, “If anyone wants to come after me, he must say no to himself, take up his cross, and follow me. 35For whoever wants to keep his life safe will lose it, and whoever gives up his life on account of me and of the gospel will keep it. 36What use is it if a man wins the whole world and loses his own life? 37And what price could a man pay to buy his life back?