What does Matthew 5:36 mean?

Matthew 5:36 KJV
Neither shalt thou swear by thy head, because thou canst not make one hair white or black.

Matthew 5:36 NKJV
“Nor shall you swear by your head, because you cannot make one hair white or black.

Matthew 5:36 MKJV
nor shall you swear by your head, because you cannot make one hair white or black.

Matthew 5:36 KJV 2000
Neither shall you swear by your head, because you can not make one hair white or black.

Interlinear KJV

Neither /mete/ shalt thou swear /omnuo/ by /en/ thy /sou/ head, /kephale/ because /hoti/ thou canst /dunamai/ not /ou/ make /poieo/ one /mia/ hair /thrix/ white /leukos/ or /e/ black. /melas/

Albert Barnes’ Commentary

Verse 36. Thy head. This was a common oath. The Gentiles also many of them used this oath. To swear by the head was the same as to swear by the life; or to say, I will forfeit my life if what I say is not true. God is the Author of the life, and to swear by that, therefore, is the same as to swear by him.

One hair, etc. You have no control or right over your own life. You cannot even change one single hair. God has all that control; and it is therefore improper and profane to pledge what is God’s gift and God’s property; and it is the same as swearing by God himself.