Jesus fasted for 40 days and nights in the wilderness. The devil tempted Jesus three times by trying to get him to turn stones to bread, throw himself off the temple, and worship the devil in exchange for power over the world's kingdoms. Each time, Jesus responded by quoting scripture to affirm that one must only worship and serve God.