Taylor Swift shared words of wisdom with New York University's class of 2022 on Wednesday as she received an honorary doctorate.MORE: Joe Alwyn opens up about relationship with Taylor Swift in very rare interviewThe singer was given an honorary doctorate of fine arts and gave the commencement speech to thousands who sat in Yankee Stadium for the special ceremony. "Hi I am Taylor," she began, joking: "Last time I was in a stadium this size I was dancing in heels and wearing a gliterally leotard but this outfit is much more comfortable."WATCH: Taylor Swift shares her fall favorites"I feel so proud to share this day with my fellow honorees who humble me with the ways they improve our world with their work," Taylor continued, adding: "As for me I am 90% sure the main reason I am here is because I have a song called 22."And let me say I am elated to be here as we celebrate and graduate NYU's class of 2022.MORE: Inside Taylor Swift's incredible $81m property portfolio: from New York to NashvilleMORE: Chris Stapleton opens up on his recent Taylor Swift collaboration"Not a single one of us here has done it alone, we are each a patchwork quilt of those who loved us, believed in our futures, showed us empathy and kindness, or told us the truth even when it wasn't easy to hear."The 32-year-old thanked her parents for the "sacrifices they made" for her, and spoke about her life in the public eyes.