: This is a callback to Spider-Man 2 (2004). The line "The power of the sun, in the palm of my hand" was Octavius’s original mission statement for his fusion reactor. The "Trying to do better" line is a reference to a conversation Peter had with Dr. Octavius earlier in that same film.
"Yes, Peter. You're all grown up. How are you?" Peter Parker: "Trying to do better." Dr. Otto Octavius : "Hello, Peter." Context of the Scene
: This interaction occurs toward the end of the film after Peter Parker has successfully "cured" Dr. Octavius by replacing his broken inhibitor chip.