The song "Don't Let the Sun Go Down on Me" (1974, by Elton John & Bernie Taupin) was not directly about John Lennon—a common misconception.
The lyrics reflect a general plea for emotional support during a period of personal and professional pressure: touring exhaustion, fame’s isolation, fear of abandonment. The "sun" metaphor represents fading hope/connection.
So: written as personal reflection; later resonated with the Elton/John friendship; immortalized by George Michael.