Jesus’ message: If someone treats you as an inferior by backhanding you on the right cheek, turn the other cheek to them and challenge them to treat you as an equal, a form of nonviolent resistance. It is an instruction about using inner strength in a noble way.
In first-century Palestine, One could only strike “inferiors” backhanded: slaves, women, and children. Striking an equal, a free man, with a backhand could incur legal punishment.
https://www.catholicdigest.com/amp/faith/sunday-gospel-reflections/sunday-gospel-reflections-turning-the-other-cheek/
"But I say unto you, That ye resist not evil: but whosoever shall smite thee on thy right cheek, turn to him the other also." Matthew 5:39
https://biblehub.com/matthew/5-39.htm