So much wrong has been done in the name of God.
All people who deliberately do wrongs in the name of God risk the worst punishment in hell because they are hypocrites. To do something in the name of God is because you are trying to do what is right.
The real intention of people who do knowingly do wrong in the name of God is in just a cover for actions which are in the name of something else.
These other justifications are all possible and present without religion. A genuinely religious Muslim must remove any intention in his / her action which is not purely to please Allah through doing what is right.