I kind of agree? But, well…
On one hand, you shouldn’t make yourself into someone you don’t want to be for the sake of somebody, whether it be a friend or someone you love.
On the other hand, don’t use this sort of philosophy as an excuse to not improve yourself as a person.
Be the person you want to be and those who are truly by your side will accept you, but learn from whatever mistakes you make, especially if those lessons help you with striving for the former.