Qadi Shurayh (may Allah have mercy on him) said regarding this statement of Allah: "And We gave him wisdom and decisive speech" [Surah Sad: 20]: it refers to oaths and witnesses.