This is a long-standing philosophical question that many thinkers have debated. There are arguments on both sides:

The view that morality is objective holds that there are fundamental moral truths or principles that exist independently of what any individual or culture believes. This could come from a divine source, from reason, or from an objective moral reality. Philosophers like Immanuel Kant argued for moral objectivism.

The view that morality is invented or socially constructed by humans argues that moral values, norms and principles arise from human thought, culture, and social agreements. Different societies and individuals have held vastly different moral views over history. Thinkers like Friedrich Nietzsche and some postmodern philosophers have defended moral relativism or anti-realism.

Ultimately, there is no consensus among philosophers on this question. It involves deep questions about the nature of ethics, the existence of objective truth, and the foundations of our moral judgments. Reasonable people can disagree. It's a complex issue without a clear answer.
