According to Rahyafte(the missionaries and converts website):Prophet Abraham (AS) did two things when facing his people, who worshipped idols.
He first tried to remind them of their mistakes by offering examples and raising questions. One of their mistakes that he pointed out was choosing what they worshipped through imitation.
He told them God should love you and you should love Him. This is a relationship that the Quran talks about: “God will soon raise a people whom He loves and who love Him.” (Verse 54 of Surah Al-Ma’idah)
When Abraham (AS) was looking for God, he would say: “I do not love the setting ones.” (Verse 76 of Surah Al-An’am)
So the relationship between God and one who worships Him should be based on love.
Then Abraham (SA) starts introducing God in a simple way. “(He is) the Lord of all the Worlds, who created me; and He guides me,” (Verses 77-78 of Surah Ash-Shuara)
We had not existed before we were created. Who created us? It is God who creates us and guides us. This means I have not come to this world in vain. There has been a purpose behind my creation and I have been guided toward that goal.
So God can guide people but the idolaters could not say the idols can guide people.
Another point is that “It is He who gives me food and drink.” (Verse 79 of Surah Ash-Shuara)
And it is He who heals my disease when I get sick. “And when I am sick, then He restores me to health.” (Verse 80)
And when I die, it is He who will give me life again. “He will cause me to die and will bring me back to life.” (Verse 81)
Here Abraham (AS) reinforces the argument for belief in monotheism and Resurrection. These are issue that those people could not attribute to their idols. They could not say lifeless idols can do these things.
Abraham also mentions another point: “It is He whom I expect to forgive my sins on the Day of Judgment.”
Here, Abraham starts praying in order to teach us how to pray. We should first point out God’s attributes and praise Him.
Abraham then says: “My Lord, give me judgment, and join me with the righteous.” (Verse 83) This is what Abraham (AS) wants for himself and for his posterity