judgment in a courtroom sense: the court that sits to hear a case, the sentence it hands down, and the justice behind both.
In the Aramaic parts of Ezra and Daniel this word belongs to the courtroom. It can point to the court itself as it convenes, to the decision that court hands down and enforces, or to justice as the standard behind a ruler's dealings. The three hang together: a case is heard, a decision is reached, and the decision shows what is right.
Daniel 7 gives the word its most famous setting. Thrones are put in place, the Ancient of Days takes his seat, and then "the court sat, and the books were opened" (Daniel 7:10). The Aramaic is compact: judgment itself is said to sit down, the way a judge does. The same wording returns in Daniel 7:26, where the court sits again and the boastful power loses its rule for good.
Ezra 7:26 is imperial rather than heavenly. Anyone who ignores the law of God and the law of the king is to have judgment carried out on him, and the penalties are spelled out: death, banishment, confiscation of goods, imprisonment. Here the word is the sentence and its enforcement, standing right beside the Aramaic word for the law already on the books (דָּת).
Daniel 4:37 stretches the word furthest. A pagan king ends his story by saying that all God's works are true and all his ways are judgment, which English versions turn into "just" or "right". The courtroom picture is still in the background: God's dealings are the kind that would stand up in court.