If someone’s qualities or habits rub off on you, you develop some of their qualities or habits after spending time with them.
He was a tremendously enthusiastic teacher and that rubbed off on all the children...
I was hoping some of his genius might rub off.
PHRASAL VERB : V P on n , V P