Can man make for himself gods? Such are not gods!
Jeremiah 16:20 ESV

Although the literal reference is to idols of wood and metal, the context is anything that people learn from their ancestors and put their trust in instead of God.

Elohim can also be translated “judges”. False gods, even if they are real beings, have no authority to judge. Satan has authority to mete out punishment for those who have been judged, but only God has authority to pass judgment.