When you kill/betray person-A to trick person-B into thinking that you are loyal to him. But actually you just want to get closer to person-B to destroy him!
John snape killed Ben to win trust from leader Rick so that John could get close enough to Rick to kill him.