At the temptation, devil attacked Jesus three times.
Matthew 4:3 self-preservation - And when the tempter came to him, he said, If thou be the Son of God, command that these stones be made bread.
Matthew 4:6 self-adulation - And saith unto him, If thou be the Son of God, cast thyself down: for it is written, He shall give his angels charge concerning thee: and in their hands they shall bear thee up, lest at any time thou dash thy foot against a stone.
Matthew 4:8 self-glorification -Again, the devil taketh him up into an exceeding high mountain, and sheweth him all the kingdoms of the world, and the glory of them