Their answer was force. They said, 'Burn him and support your gods, if you are going to act' (21:68). Surah as-Saffat says they told one another to build a furnace for him and throw him into the blazing fire (37:97), and Surah al-Ankabut says the only reply of his people was 'Kill him or burn him' (29:24).
Then Allah said, in the meaning of the verse: «قُلْنَا يَٰنَارُ كُونِى بَرْدًۭا وَسَلَٰمًا عَلَىٰٓ إِبْرَٰهِيمَ» (21:69). Allah saved him from the fire, and the Quran says that in this are signs for people who believe (29:24). They wanted to harm him, but Allah made them the greatest losers (21:70) and the most debased (37:98).
Ibn Abbas, may Allah be pleased with him, reported that the words 'Hasbunallahu wa ni'mal wakil' (Allah is enough for us, and He is the best protector) were said by Ibrahim when he was thrown into the fire, and by Muhammad ﷺ when people told him that others had gathered against him and that he should fear them. This only increased the believers in faith (Sahih al-Bukhari 4563).
After this Ibrahim left his people. Lut (Lot) believed him, and Ibrahim said that he would emigrate to his Lord (29:26). Allah later gave him Ishaq and Yaqub and placed prophethood and scripture in his descendants (29:27).