List all the books of the old testament and their authors

The Old Testament is divided into several sections: the Pentateuch (also known as the Torah), the Historical books, the Wisdom books, and the Prophets. Here are the books of the Old Testament along with their generally attributed authors:

Pentateuch:
1. Genesis - Traditionally attributed to Moses
2. Exodus - Traditionally attributed to Moses
3. Leviticus - Traditionally attributed to Moses
4. Numbers - Traditionally attributed to Moses
5. Deuteronomy - Traditionally attributed to Moses

Historical books:
6. Joshua - Traditionally attributed to Joshua
7. Judges - Traditionally attributed to Samuel, Nathan, and Gad
8. Ruth - Unknown author
9. 1 Samuel - Traditionally attributed to Samuel, Nathan, and Gad
10. 2 Samuel - Traditionally attributed to Samuel, Nathan, and Gad
11. 1 Kings - Traditionally attributed to Jeremiah
12. 2 Kings - Traditionally attributed to Jeremiah
13. 1 Chronicles - Traditionally attributed to Ezra
14. 2 Chronicles - Traditionally attributed to Ezra
15. Ezra - Traditionally attributed to Ezra
16. Nehemiah - Traditionally attributed to Nehemiah
17. Esther - Unknown author

Wisdom books:
18. Job - Unknown author
19. Psalms - Various authors (David, Asaph, Solomon, and others)
20. Proverbs - Mostly attributed to Solomon, with some by other authors
21. Ecclesiastes - Traditionally attributed to Solomon
22. Song of Solomon - Traditionally attributed to Solomon

Prophets:
23. Isaiah - Traditionally attributed to Isaiah
24. Jeremiah - Traditionally attributed to Jeremiah
25. Lamentations - Traditionally attributed to Jeremiah
26. Ezekiel - Traditionally attributed to Ezekiel
27. Daniel - Traditionally attributed to Daniel
28. Hosea - Traditionally attributed to Hosea
29. Joel - Traditionally attributed to Joel
30. Amos - Traditionally attributed to Amos
31. Obadiah - Traditionally attributed to Obadiah
32. Jonah - Traditionally attributed to Jonah
33. Micah - Traditionally attributed to Micah
34. Nahum - Traditionally attributed to Nahum
35. Habakkuk - Traditionally attributed to Habakkuk
36. Zephaniah - Traditionally attributed to Zephaniah
37. Haggai - Traditionally attributed to Haggai
38. Zechariah - Traditionally attributed to Zechariah
39. Malachi - Traditionally attributed to Malachi

Please note that the attributions given here are traditional beliefs, and in some cases, the true authors may be unknown or the books may have different authors for different sections.