I was reading the book of Nahum and it was speaking about Ninevah. Is the book of Nahum foretelling the destruction of Ninevah, for which the people of Ninevah averted by repenting of their sins, or is Nahum talking about an event that happened after Jonah's time?
Nahum takes place about 140 years after Jonah. Jonah preached, they repented, they later returned to wickedness, and Nahum prophesied judgement. Ironically, Nahum means "comfort."
Jonah shows a 7-8th century BC background (though some argue the current form came much later, around the 4th century BC). And 2 Kings 14:25 mentions a prophet named Jonah son of Amittai during the reign of Jeroboam II (786-746 BC).
Nahum seems to date from ca. 615 BC. This date is defended on the grounds that the destruction of Nineveh came about in 612, and Nahum 3:8-10 compares Nineveh's coming destruction to Thebes already-happened destruction of 663 BC.