Well, I personally take offense to the notion that morals and ethics come from religion.
As someone who is not religious, I still feel that I have morals.
So that you will not say that I am just using myself as an example, I will reference a moral code by someone who was not connected to religion.
Kant stated that any action that would lead to societal collapse if everyone would do it, is immoral.
This has no religious foundation, and yet, it is an ethical code, (very simplified to fit this forum), that many philosophers hold to, or have built on.