The lines appear in "As It Was" by Harry Styles (2022, from Harry's House):
I just wish I could be as cool as you
I would have some of what you got too
I want your passion and I want your drive
All the things that used to get you by
I just wish I could be as cool as you
The track's synth-driven, bittersweet vibe masks a lyric about self-comparison and fading relationships—universal feelings wrapped in a hook that stuck worldwide.