Was Jesus entirely nonviolent?
I don’t think he was entirely anti-public prayer either. The point of that passage is just to point out that we need appropriate motivation for prayer. Jesus would not be opposed to praying in public should you be doing so out of an honest and loving heart. That being said, a lot of the public prayer that Christians champion would likely fall under the pompous category of prayer that Jesus was against.