Malachi prophesied during the post-exilic period, likely in the 5th century BC, after the return from Babylonian captivity. The Jewish community was struggling with spiritual laxity, especially among priests who were responsible for temple worship. The political situation was under Persian rule, which allowed limited Jewish autonomy but also brought challenges in maintaining covenant faithfulness. The Edomites, descendants of Esau, were historical enemies of Israel and had taken advantage of Israel’s exile to occupy their lands, prompting God’s judgment against them. The cultural context included strict sacrificial laws from the Mosaic covenant, which the priests were failing to uphold, leading to God’s rebuke.