God says he would rather have the doors shut than receive worthless offerings Malachi 1:10. The statement rejects their current worship as unacceptable Malachi 1:10. It is set beside the claim that God’s name will be honored among the nations Malachi 1:11.
In Malachi 1:10–11 Yahweh says he would rather the temple doors be shut than have people keep offering worship that amounts to nothing. He announces he takes no pleasure in them and will not accept what they bring. These verses sit inside Malachi’s opening dispute about honoring Yahweh, especially in the temple. Just before, the priests are confronted for treating the altar casually by bringing defective gifts, which signals contempt rather than respect (1:6–9).
Malachi 1:10–11 presents Yahweh rejecting worship that has become empty and disrespectful. The problem is not that sacrifice and temple worship are wrong in themselves, but that the current offerings and attitude make the whole routine “in vain.” Explicitly, Yahweh says he takes no pleasure in them and will not accept what they bring (verse 10).
A careful answer keeps the immediate passage, the book's argument, and the whole-Bible storyline together, so the question is answered in context instead of as a detached idea.
Start with Malachi 1:10, then read the surrounding section so the answer stays connected to the passage's flow.
10Oh that there were one among you who would shut the doors, that you might not kindle [fire on] my altar in vain! I have no pleasure in you, says Yahweh of hosts, neither will I accept an offering at your hand.