Could it be this one by Ned Washington and Leigh Harline written in 1941 (I think for a Disney film):
When you wish upon a star
Makes no difference who you are
Anything your heart desires will come to you . . . etc, etc.
The title is "When you wish upon a star"