(And We made Solomon to understand) gentleness in judgement; (and unto each of them) David and Solomon (We gave judgement) understanding (and knowledge) prophethood. (And We subdued the hills and the birds to hymn (His) praise along with David) when he praised his Lord. (We were the doers (thereof)) We did that to them.