Haggai, a minor prophet in the Hebrew Bible, prophesied around 520 BCE during the post-exilic period. His messages primarily focused on urging the Jews to rebuild the Temple in Jerusalem, emphasizing the importance of prioritizing God's house. This period was marked by struggle and disillusionment among the returning exiles.