This is anachronism at its... silliest.
The ten commandments were given to Israel through Moses at Sinai, some 430 years after Abraham's encounter with God. While the text you cited tells us that Abraham obeyed, it doesn't specify "the ten commandments". You're making an argument that cannot be...