I'm no theologian, but it seems to me that two separate people are involved.
1. Abraham, who was willing to sacrifice ('give up') his son Isaac
and
2. Abraham's God, who had no intention of demanding that the sacrifice actually be carried out.
Child sacrifice might have been carried out by people Abraham knew, who were told their gods demanded such a sacrifice.
Whether that is true or not, as far as I know, Abraham's God has never carried through on any demand for humans to sacrifice their children.
What is your understanding of "moloch'?