Most versions say that the temptation was throughout the forty days. The UDB states "While he was there, the devil kept tempting him" to make this clear.
This can be stated in active form, and you can make explicit what it was the devil tempted him to do. Alternate translation: "the devil tried to persuade him to disobey God" (See: [[rc://en/ta/man/translate/figs-activepassive]] and [[rc://en/ta/man/translate/figs-explicit]])