If my morality has to be judged, it will be judged based on my overall character and not on the few good things I do. I might be kind, give money for social welfare, speak with respect but then if I think that people outside my religion or the lack of it are not worth living, I am not on a very good moral footing. Doing a few good things just makes me human, not a God whose words are supposed to be good irrespective of the generation change.
Bhagwat Gita 9.32, translated - O son of Pitha, those who take shelter in Me, though they be of lower birth – women, Vaisyas [merchants] and Sudras [workers] – can attain the supreme destination.
Manusmriti - For the welfare of humanity the supreme creator Brahma, gave birth to the Brahmins from his mouth, the Kshatriyas from his shoulders, the Vaishyas from his thighs and Shudras from his feet. (Manu's code I-31,)
Bible - Deuteronomy 25:11-1: If two men are fighting and the wife of one of them comes to rescue her husband from his assailant, and she reaches out and seizes him by his private parts, you shall cut off her hand. Show her no pity.
Quran (47:3-4) - "Those who disbelieve follow falsehood, while those who believe follow the truth from their Lord... So, when you meet (fighting Jihad in Allah's Cause), those who disbelieve smite at their necks till when you have killed and wounded many of them, then bind a bond firmly (on them, i.e. take them as captives)... If it had been Allah's Will, He Himself could certainly have punished them (without you). But (He lets you fight), in order to test you, some with others. But those who are killed in the Way of Allah, He will never let their deeds be lost."
Honestly, there are many many more such disgusting verses in the old scriptures. If you want to be good, live a good life and want the same for others, keep humanity at the top, ahead of any form of affiliation. Be it your nation, religion, gender, color or political affiliation. When you can think for the improvement of your neighbour, you are already a better person that the God you worship or the scripture you think is ideal.