It doesn't matter where moral values come from, only if they're right or wrong.
Morality is a compass whose accuracy is tested when you reap whatever you sow by using your compass.
I you fail to foresee consequences for things based on certain moral ideas, that won't prevent you from reaping those consequences.
We learn by trial and error, in this life and hereafter.
The main difficulty people have with morality is when artificial consequences conflict with natural ones. For example, if you follow some rule or rule based on the idea that it will benefit you, but then by doing so you end up causing natural consequences that you didn't expect, you would try to blame the rule you followed, but ultimately no one will be held accountable for misleading you with false rules.