Jesus was tempted by the devil to show that no one is above temptation. The devil tempted Jesus with various things such as power, wealth, and fame, but Jesus resisted each temptation by quoting scripture. This event shows that even the Son of God, who is without sin, was not immune to temptation, and it serves as an example for us to resist temptation as well.