The earliest understanding of the Egyptian divinity is explained Here
Of these gods made by hands of stone, wood and gold the scriptures state
"Learn not the way of the heathen, and be not dismayed at the signs of heaven; for the heathen are dismayed at them.
For the customs of the people are vain:
For one cuts a tree out of the forest,
the work of the hands of the workman, with the axe.
They deck it with silver and with gold;
they fasten it with nails and with hammers, that it move not.
They are upright like a palm tree, but speak not:
they must be carried, because they cannot walk.
Be not afraid of them; for they cannot do evil, neither can they do good." Jeremiah 10:2-5.
`... follow them not, neither believe in them for they are an abomination unto the Lord.' Psalm 115:4; Isaiah 42:8.
"Then I will sprinkle clean water upon you, and ye shall be clean: from all your filthiness, and from all your idols, I will cleanse you." Ezekiel 36:25.
"Thou shalt not make unto thee any graven image, or any likeness of any thing that is in heaven above, or that is in the earth beneath, or that is in the water under the earth." Exodus 20:4.
Is quoting from the Decalogue being a legalist? Wow, read the clickable article on that!