In the wilderness, the devil tempted Jesus to seek his own glory. But Jesus refused this path in order to walk the way of the cross. He did this in the place of Israel, who had failed God's test in the past. He did this in our place, because we have failed God's test as well. Jesus is our substitute who has defeated Satan for us, setting us free from sin, death, and the power of the devil.