Matter does not produce moral duty.
Atoms do not issue commands.
The objective foundation
The Islamic perspective sees morality not as a human invention
but as a reflection of the attributes of the Creator.
Justice is a value because it is one of His attributes.
Mercy is a value because He is Merciful.
Injustice is ugly because it contradicts the order upon which existence was established.
In this sense
morality is not an opinion
but an extension of a deeper reality.
What does this mean practically?
It means that good is not merely benefit.
And evil is not merely a strategic mistake.
It means that the human being is morally responsible
even if he escapes worldly punishment.
Because the standard does not change with power.
Conclusion
A society can live by moral rules without declaring faith in God.
But the deeper question is
Can it justify those morals without a higher reference?
If there is no absolute good
there is no absolute evil.
If there is no absolute evil
then all our great condemnations throughout history become mere preferences.
The question therefore is not
Can people behave morally without faith?
But
On what basis do we say that some actions ought to be moral in the first place?