Right and wrong are subjective terms and wholly dependent on one's world-view. Every civilization, nation and culture has it's own moral code, the product of whatever religious or philosophical ideology is prevalent. Quite often, religion and/or philosophy are used by the powers that be to pacify the masses and bring about their subjugation. Examples of this can clearly be seen in feudal Japan, where the emperor was "god" and thus his authority must not be questioned; the Holy Roman Empire, where the Church ruled and their control mandated by God; and also in Napoleon's France and Stalin's Russia.
Despite the use and misuse of ethics and morality, there is one underlying principle which should be foremost in the minds of all: What is necessary to maintain balance and make life bearable for people in general? What is it that will keep us from fading into the annals of history and extinction? Obviously, much of what we typically view as "good" (such as industrialization, nationalism - under the guise of "security", and indifference - under the guise of "minding one's own business") actually contribute to the destruction of humanity (not that I'm opposed to the idea of population reduction in a vastly overpopulated world!).
The initial "establishment" of "right and wrong" as a principle of morality, I believe, was to insure the safety and security of the people; in other words, if it harms the whole, it is wrong; if it helps the whole, it is good. Thus, in my opinion, it doesn't matter what a religion or philosophy dictate because morality, as a general principle, stems from humanity itself and not whatever ideology happens to be popular at the time...