1 John 2:6

Amplified Bible (AMP)
whoever says he lives in Christ [that is, whoever says he has accepted Him as God and Savior] ought [as a moral obligation] to walk and conduct himself just as He walked and conducted Himself.

Read 1 John 2:6 in other translations