You have to learn the difficult skill of being gracious and polite without being a doormat.
You have to learn the difficult skill of being kind and polite without being trash.
I try to grasp the meaning of the first version by rendering it as the second. Correct me if I am wrong. Thanks.