We are asked to emulate abraham.
2:124 And when Abraham was tested by His Lord with the words (kalimatin) - thus, he completed it. We said, “Indeed I am making you for mankind as the head (imam)”. He asked, “And from my descendants”? I replied - “My promise does not include the unjust people”. 2:125 And when We made the system as providence for mankind and harmony – and you shall take from the position of Abraham who was committed. And We gave instructions to Abraham and Ishmael that - they should clean My system for groups of people - and those who are devoted - and those who humbly consented.