rub off on

中级 (B1) informal

When you spend time with someone and you start to act like them — their good or bad habits start affecting you without you realising.

"Her love of reading really rubbed off on her children — they all became bookworms."