Johnny is very close to each member of the Greasers, who all feel drawn to him. After Johnny’s death, Dally sets himself up and is shot dead by police officers. Although all the Greasers have encountered tough breaks, Dally and Johnny share similar backgrounds. They both have parents that don’t care about them. However, it is their differences that ultimately bring Johnny and Dally closer together.
While Dally is vicious and riotous because of his background, Johnny is quite calm and reasonable despite similar conditions. Johnny holds on to the belief that there is some good left in the world, while Dally has lost all hope and sees nothing good. Thus, it is Johnny’s optimism and outlook that draws Dally to him. Dally considers Johnny’s ability to remain good an example of real strength because it is a feat he can’t achieve. Thus, for Dally, Johnny is a symbol of all the good that is left.
There's still lots of good in the world. Tell Dally. I don't think he knows.