What does Matthew 7:2 mean?

Matthew 7:2 KJV
For with what judgment ye judge, ye shall be judged: and with what measure ye mete, it shall be measured to you again.

Matthew 7:2 MKJV
For with whatever judgment you judge, you shall be judged; and with whatever measure you measure out, it shall be measured to you again.

Matthew 7:2 NKJV
“For with what judgment you judge, you will be judged; and with the measure you use, it will be measured back to you.

Matthew 7:2 KJV 2000
For with what judgment you judge, you shall be judged: and with what measure you measure, it shall be measured to you again.

Interlinear KJV

For /en/ with /hos/ what /gar/ judgment /krima/ ye judge, /krino/ ye shall be judged: /krino/ and /kai/ with /en/ what /hos/ measure /metron/ ye mete, /metreo/ it shall be measured /antimetreo/ to you /humin/ again. /antimetreo/

Albert Barnes’ Commentary

Verse 2. With what judgment, etc. This was a proverb among the Jews. It expressed a truth; and Christ did not hesitate to adopt it as conveying his own sentiments. It refers no less to the way in which men will judge of us, than to the rule by which God will judge us. See 2 Sa 22:27; Mr 4:24; Jas 2:13.

Mete. Measure. You shall be judged by the same rule which you apply to others.

{s} “what measure ye mete” Jud 1:7