we bestowed wisdom on luqman show gratitude to allah. any who is grateful does so to the profit of his own soul but if any is ungrateful verily allah is free of all wants worthy of all praise.
ولقد آتينا لقمان الحكمة أن اشكر لله ومن يشكر فإنما يشكر لنفسه ومن كفر فإن الله غني حميد