The 29-year-old credits that attitude shift for earning him an international debut in Australia's first of five T20s against England at the MCG on Saturday night.
He will be the first Victorian to debut for Australia at the venue since Scott Boland, who produced a famous spell of 6-7 in the 2021 Ashes Boxing Day Test.
But Australia have been forced into last-minute squad changes, with Billy Stanlake called up after quicks Mahli Beardman and Xavier Bartlett were ruled out of the series through injury.
Beardman, who was rested for the second ODI in Adelaide after exploding with 6-24 on debut for Australia in Perth, has suffered a low-grade quad strain to his left leg after playing in Wednesdays series-deciding loss in Hobart.
Queensland's Bartlett has also gone down with an injury to his left knee after playing in all three ODIs.
Beardman is expected to recover in time to play for the Perth Scorchers in the BBL, while Bartlett's return timeline is still to be decided.
Harper's elevation comes after he made a century on debut for Australia A in India and toured with Australia's Test squad in South Africa as cover for injured back-up gloveman Josh Inglis, who is sitting out the five-game T20 series.
The BBL's best player last season recalled having creeping doubts about his chances of playing for Australia and exploring options for work post-cricket.
"I didn't have a contract for the Stars for the following BBL (and) spent the winter doing a little bit of off-field stuff," Harper said of that period.
"I would have been 27 by that stage, so not saying time wasn't on my side, but I was certainly pushing closer to 30."
From that point he let the chips fall where they may, and it has paid dividends.
"From probably 18 to 26, I could be guilty of trying too hard and putting too much pressure on myself," Harper said.
"And it's funny how when maybe you see a door closing and then you just get back to playing cricket ... the results have gone the complete other way."
Harper has suffered several high-profile head knocks throughout his career, including in 2017 when South Australia's Jake Lehmann accidentally struck him in the head with his bat while playing a pull shot.Â
It resulted in Harper spending almost a month in a dark hospital room and initially requiring a walking frame.
Harper admitted the incident "rattled" him for basically the entire year, but reckons his concussion hardships have been worth it in the long run.
"To be able to come back and play some good cricket and do what I dreamt of doing as a kid, it makes those times really rewarding," he said.
Australia squad: Mitchell Marsh (c), Nikhil Chaudhary, Tim David, Joel Davies, Ben Dwarshuis, Jack Edwards, Jake Fraser-McGurk, Sam Harper, Spencer Johnson, Riley Meredith, Mitch Owen, Lachlan Shaw, Billy Stanlake, Henry Thornton, Adam Zampa
England squad: Harry Brook (c), Tom Banton, James Coles, Jordan Cox, Henry Crocombe, Sam Curran, Liam Dawson, Aneurin Donald, Eddie Jack, Will Jacks, Jamie Overton, Adil Rashid, Thomas Rew, Phil Salt, Luke Wood