وَلَوْلَآ أَن ثَبَّتْنَـٰكَ لَقَدْ كِدتَّ تَرْكَنُ إِلَيْهِمْ شَيْـًٔا قَلِيلًا Qur’an Al-Israa (17:74)Walawl a an thabbatn a ka laqad kidta tarkanu ilayhim shayan qaleel a n
The implication is that the Prophet's deep faith made it impossible for him to consider anything of this kind.
From a purely human point of view it may seem policy to make a small "concession" to men's weakness in order to fulfil a divine mission. But the divine Messenger is given special strength to resist such temptations.