Luqman (May Allah be pleased with him) was granted the wisdom because he was a great servant of Allah (S.W.T) and he had great unique qualities.
Geeldoon, dawladdu wax kama qaban karto oo quwado waaweyn ayaa dabada ka riixaya.