Head Down to the Path of Evil
Nobita is inspired by a book of Great Men and resolves to do good deeds but they all turn out bad. He gets angry and resolves to do bad things, but Doraemon pulls out a gadget to prevent him and somehow all his bad actions turn out good. Remade in 1990 as "Nobita's Wicked Aspiration."
Aired 25/08/1979EP 126 - Head Down to the Path of Evil

Doraemon
Nobi Nobita is a 4th-grade boy in Tokyo. One day, a round, blue cat-style robot (minus ears) pops up in his desk drawer. Nobita's great-great-grandson (or something) lives in the 22nd Century, but thanks to Nobita's mistakes, the entire family is living in poverty. To rectify this, Nobita's descendent is sent Doraemon back to the past, to help prevent Nobita from making mistakes. Of course this is a difficult task since Nobita is the weakest and least intelligent child in his class. Doraemon does, however, have a 4-dimensional pocket on his front, which contains cool gadgets from the future. With these toys, Doraemon will try to help Nobita. Unfortunately, Nobita also has the bad habit of misusing Doraemon's gadgets and landing himself in yet more trouble?
(Source: AnimeNfo)