Sure Al-Baqara

2:258

أَلَمْ تَرَ إِلَى ٱلَّذِى حَآجَّ إِبْرَٰهِۦمَ فِى رَبِّهِۦٓ أَنْ ءَاتَىٰهُ ٱللَّهُ ٱلْمُلْكَ إِذْ قَالَ إِبْرَٰهِۦمُ رَبِّىَ ٱلَّذِى يُحْىِۦ وَيُمِيتُ قَالَ أَنَا۠ أُحْىِۦ وَأُمِيتُ ۖ قَالَ إِبْرَٰهِۦمُ فَإِنَّ ٱللَّهَ يَأْتِى بِٱلشَّمْسِ مِنَ ٱلْمَشْرِقِ فَأْتِ بِهَا مِنَ ٱلْمَغْرِبِ فَبُهِتَ ٱلَّذِى كَفَرَ ۗ وَٱللَّهُ لَا يَهْدِى ٱلْقَوْمَ ٱلظَّٰلِمِينَ

Siehst du nicht jenen, der mit Ibrahim über seinen Herrn stritt, weil Allah ihm die Herrschaft gegeben hatte? (Damals) als Ibrahim sagte: "Mein Herr ist Derjenige, Der lebendig macht und sterben läßt." Er sagte: "Ich mache lebendig und lasse sterben." Ibrahim sagte: "Allah bringt ja die Sonne vom Osten her; so bringe du sie vom Westen her!" Da war derjenige, der ungläubig war, verblüfft. Und Allah leitet nicht das ungerechte Volk recht.

Tafsir 2:258

O Prophet, do you know about the arrogance of the rebellious one who argued with Abraham about Allah’s Lordship and Oneness? This happened because Allah had given him the power to rule, yet he transgressed and took advantage of his position. Abraham explained to him the attributes of his Lord by saying, ‘My Lord is the One Who gives life to the creation and causes them to die’. The rebel stubbornly said, ‘I too can give life and cause death. I can kill whomever I wish and pardon whomever I wish’. Abraham then put forward another stronger argument by saying to him, ‘The Lord I worship is the One Who brings the sun from the direction of the east; so, you should bring it from the direction of west!’ The rebel was shocked and defeated by this strong argument. Allah does not allow wrongdoers to be guided and traverse His Path because of their disobedience and rebellion.