Numbers 14:34

14:34 According to the number of the days you have investigated this land, forty days – one day for a year – you will suffer for your iniquities, forty years, and you will know what it means to thwart me.

Ezekiel 4:5-6

4:5 I have determined that the number of the years of their iniquity are to be the number of days for you – 390 days. So bear the iniquity of the house of Israel.

4:6 “When you have completed these days, then lie down a second time, but on your right side, and bear the iniquity of the house of Judah 40 days – I have assigned one day for each year.

Revelation 11:2-3

11:2 But do not measure the outer courtyard of the temple; leave it out, because it has been given to the Gentiles, and they will trample on the holy city for forty-two months. 11:3 And I will grant my two witnesses authority to prophesy for 1,260 days, dressed in sackcloth.