The phrase "put it into the heart" is an idiom that means to cause someone to think about something. Alternate translation: "the devil had already caused Judas Iscariot, the son of Simon, to think about betraying Jesus" (See: [[rc://en/ta/man/translate/figs-idiom]])