وَلَـقَدۡ اٰتَيۡنَاۤ اِبۡرٰهِيۡمَ رُشۡدَهٗ مِنۡ قَبۡلُ وَكُنَّا بِهٖ عٰلِمِيۡنَۚ
And surely We had awarded Ibrahim (Abraham) understanding and guidance (commensurate with his rank) well before, and We knew full well his (competence and capability).