Dāṯ names a law, decree or binding direction within the setting in which it is given. Esther uses it for royal arrangements at the banquet, for laws mentioned in Haman's accusation against the Jews, and for the court restriction Esther resolves to cross when she approaches the king. A command's recognized status does not settle whether its purpose is righteous.
Haman uses an accusation about different laws and disobedience to urge the destruction of a whole people; those are his hostile words, not the narrator's endorsement of collective guilt. Esther faces a real death threat under the audience rule and calls her community to fast before she acts. The account does not promise that courage removes danger or make every refusal of a rule faithful.
Readers must distinguish who gives the direction, what it demands, how the narrative evaluates it and whether a human order conflicts with obedience to God.