I feel the issue with a lot of this advice like "don't care about what other people think about you", "be yourself" is, it tries to free people from one extreme (caring too much about what other people think for example) by talking about the opposite extreme.
It is helpful to have awareness about how your behaivor and actions may affect others, depending on the situation and your relationship with them, and how they may perceive or react to it. I find the key is to have and develop values you consistently act and live by so even if someone reacts negatively or different from what you expected, you don't feel this means you did something wrong or need to change something about yourself.
Something else if you're a freelance developer:
In order to command a higher rate and not just be hired as a code monkey to implement a predefined task, it helps to position yourself as a consultant who can help the client discover the best solutions to achieve their goals.
Example: instead of just agreeing to develop a client's website per their initial specs, in your discovery call, find out what their goals for the website are.
Let's say they want to use it to capture pre-orders for an upcoming product. Based on this, you can propose a few ROI-positive solutions like integrating payments with their email marketing platform to engage customers and bring back cart abandoners, hosting a viral share giveaway, etc.
It is helpful to have awareness about how your behaivor and actions may affect others, depending on the situation and your relationship with them, and how they may perceive or react to it. I find the key is to have and develop values you consistently act and live by so even if someone reacts negatively or different from what you expected, you don't feel this means you did something wrong or need to change something about yourself.