Deut. 10:17 as quoted, means that while the Bible confirms the existence of “many gods and lords”, YHVH is above all of them and the only one to be worshipped.
I am the LORD, and there is no other; apart from me there is no God” (Isaiah 45:5).
“Give thanks to the Lord of lords, for his steadfast love endures forever” (Psalm 136:3, ESV
For the Lord your God is God of gods and Lord of lords, the great, the mighty, and the awesome God,…Deut 10:17