-->
In this instance, Solomon evidently refers to his own understanding and admiration of nature (cf. {38:31-33} and the corresponding notes) as well as to his loving compassion for the humblest of God's creatures, as a great divine blessing: and this is the Qur'anic moral of the legendary story of the ant.
The righteousness which pleases the world is often very different from the righteousness which pleases Allah. Solomon prays that he may always take Allah's Will as his standard, rather than the standards of men.
The counterpart to the position of the humble ant is the position of a great king like Solomon. He prays that his power and wisdom and all other gifts may be used for righteousness and for the benefit of all around him. The ant being in his thoughts, we may suppose that he means particularly in his prayer that he may not even unwittingly tread on humble beings in his preoccupations with the great things of the world.
In the Kingdom of Allah, righteousness is the badge of citizenship. And although there are great and noble grades (see n. 586 to iv. 69), the base of that citizenship is the universal brotherhood of righteousness. The greatest in that Kingdom are glad and proud to pray for that essential badge.