I don't know of anyone, believer or non, that claims to have a perfect moral code. I don't know of anyone who claims human beings aren't flawed.
After all, we're very imperfect primates with frontal lobes that are too small and adrenal glands that are too big. One would expect as much.
You just have to do the best you can.
nice!