What is the correct Arabic translation of Maryam is righteous?

Gender Agreement between the Subject and Predicate (Feminine Singular Sentences)