Who determines these "behaviors" or "standards" if they are not encoded or governed by law? Whence law and whence ethics?
I understand your point that law and ethics are not same. My question is when, where, why, how and with whom do these supposedly distinct concepts originate in a world where conclusions are require incontrovertible proof and not mere belief or peddling thereof?
There will never be an objective consensus. You may only add your answers to a cacophony.
You might like to start here, for philosophers: https://plato.stanford.edu/entries/aristotle-ethics/
And here for priests: https://people.ucalgary.ca/~elsegal/TalmudMap/Mishnah/MMaim....
https://assets.cambridge.org/97805218/06558/frontmatter/9780...