Could someone tell me why this macro isn't working?

So I’m not sure why this macro isn’t working, it looks right to me
#showtooltip
/cast [@mouseover,harm,nodead][@targettarget,harm,nodead] Judgement

Didn’t use the US spelling of Judgment. You can shift-click the spells from your spell book to put them in macros.

I’d also recommend tweaking it slightly so it prioritizes your target over your target’s target.

#showtooltip
/cast [@mouseover,harm,nodead] [harm] [@targettarget,harm,nodead] [] Judgment