Why? In order to break Job’s integrity to Jehovah. Job’s wife and his three “troublesome comforters ” served the Devil’s purpose at that time.
وَيَرْتَبِطُ بِهذِهِ القَضِيَّةِ تَشْكِيكُ الشَّيْطَانِ فِي ٱسْتِقَامَةِ البَشَرِ أَمَامَ خَالِقِهِمْ .‏