Surah Al-Anbiyaa

21:80

وَعَلَّمْنَٰهُ صَنْعَةَ لَبُوسٍۢ لَّكُمْ لِتُحْصِنَكُم مِّنۢ بَأْسِكُمْ ۖ فَهَلْ أَنتُمْ شَٰكِرُونَ

And We taught him the fashioning of coats of armor to protect you from your [enemy in] battle. So will you then be grateful?

Tafsir 21:80

I exclusively taught David, and not Solomon, the skill of crafting armour, so that you could protect yourselves from anyone who tried to attack you with weapons. O people! Will you then show gratitude for this blessing that I bestowed upon you?