Does being with the right person bring the best out of you?

Sa
What do you think? I sometimes wonder if I were with someone else, I'd strive to be a better version of myself. But you see people become complacent in relationships that once made them feel vibrant and the best person they could be. So what's the right way.