Judgment and judgement are two spellings of the same noun. The spelling depends on the type of English.
In American English, you use “judgment” (with no “e”).
In British English, you use “judgement” (with an “e”).
AP style follows American English guidelines, so judgment (without an “e”) is correct.
It’s important touse one spelling consistently. The QuillBot Grammar Checker can help you with this.