And after he had fasted 40 days and 40 nights, he was hungry. Bible see other translations

“40 days and 40 nights.” Here Jesus is clearly being shown as a new Moses, who had twice spent 40 days and nights on Mount Sinai (First time: Exod. 24:18, which was retold in Deut. 9:9; Second time: Exod. 34:28). Jesus also spent 40 days fasting in the wilderness, and is now the new Lawgiver, superior to Moses. Jesus brings a “better hope” (Heb. 7:19); initiates a “better covenant” (Heb. 7:22; 8:6) that is based on “better promises (Heb. 8:6); and is a “better sacrifice” (Heb. 9:23).

Commentary for: Matthew 4:2