Say for example that there would be a religious instruction that you personally find morally repugnant, but which would promise you salvation from samsara or eternal hell.
Would you act in line with that instruction?
If the answer is 'yes' it says interesting, and in my opinion odd, things about God - or that which saves. In other words you have a deity who is concerned with form and not with our alignment with that form.
The question, which I do think is a good one, presupposes something very unresolved in the person in that quandry. They must believe that the one who saves likes or wants something morally repugnant to be done.
I think many believers evade this quandry by assuming that their own intution/analysis/judgment is wrong and they must submit to the interpretation of the deity or the deity's official interpreters.
But this also raises issues - that are often not faced. How can such a person trust themselves to choose the correct authority - to whose interpretations they will submit, interpretations relating to incredibly important things (such as committing what might be morally repugnant acts) - but cannot trust themselves when it comes to moral decisions and reactions.
The former is an incredible act of self-trust:
'I know for sure that this person or text is a good authority, better than the others that say different things.'
but then this person refuses to trust this same self when it comes to the morally repugnant act-reaction.
I would guess that some religious people, however much they hope you will stop reacting to this act that 'really' only seems morally repugnant would consider it important for you to 'get it' before committing the act. Others solely concerned with form and obedience would have no similar concerns.
I think the answer yes is to evade resolving something.
My answer is no. Not because of my above analysis, but because at some point I got angry at what was supposed to be good - my own confrontation with the problem of evil - and decided - because of termperment? because of
how other responses did not 'work'? both? - that I would not align with a 'bad' God or universe. I would not approve, since I don't approve. The little voice in the brain that said I should seemed vastly more ephemeral that my reactions. This does not mean I am right, and while there may be an element in this that I would consider brave, it (rather) seemed like a 'choice' I had to make. However self-contradictory that last bit seems.
Perhaps God was very disappointed in Abraham.