Inherited from Latin iūstitia. By surface analysis, giusto (“just, right”) + -ezza (“-ity, -ness”). Doublet of giustizia.
Practice speaking and memorizing "giustezza" and many other words and sentences in Italian.