{And We certainly chose them with knowledge over the worlds.} Meaning: over the people of their time in which they lived.
﴿وَلَقَدِ اخْتَرْنَاهُمْ عَلَى عِلْمٍ عَلَى الْعَالمين﴾ على عَالم زمانهم الَّذِي كَانُوا فِيهِ