The Andy Griffith Show · S1, E6
Runaway Kid
Andy lectures Opie on the importance of keeping one's promise after Opie and his friends play a practical joke. However, the tables are turned when Opie befriends a runaway boy and refuses to reveal his name to Andy.