Matthew 5:39

Amplified Bible (AMP)
But I say to you, do not resist an evil person [who insults you or violates your rights]; but whoever [k]slaps you on the right cheek, turn the other toward him also [simply ignore insignificant insults or trivial losses and do not bother to retaliate—maintain your dignity, your self-respect, your poise].

Read Matthew 5:39 in other translations