This line implies that willpower can overcome all of the distractions. However, there are studies that show it's not the case.
Our brain is primordially designed to react to distractions - because it was a matter of survival or death. Media has adapted itself to harness this feature of our brains. To counter it, we have to take out much of the possible avenues to distractions out of our extrapersonal space or sight range (because we're visual creatures, out of sight = out of mind).
For more details, Andrew Huberman has a whole episode on focus and concentration that talks about this.
Sometimes there really is - for people who want to focus but find it frustratingly difficult because of their brain chemistry (ADHD or whatever).
For me, it's sleeping enough, nicotine patches, green tea, L-Tyrosine, Avmacol, and no coffee. This regimen has helped me improve my work performance significantly. It doesn't "fix" everything, but it sure makes it so much easier to function and to focus what I want to focus on.
That sounds great, I've certainly too gone through a better sleep period where I focused on better sleep - no coffee for two years and lots of other measures like that. And it works. That's not a silver bullet, that's hard work. :)
For the last couple of years my sleep pattern has been crazy. Sometimes I would stay up two days in a row to rest my sleep pattern back to 9-5 schedule. I preferred to be sleep deprived as it made my job more interesting.
But lately (since a month ago) I have been thankfully able to maintain a 12/1-8:30 range sleep pattern.
I do a 15 min workout 5 days a week. I have been fasting so I eat a big meal a couple hours before sleeping. Read a book half an hour before sleep.
So far it's been working. Fasting is weight loss reasons. Also helps me personally focus since if I eat too much I get lazy/tired.
Other thing I'll comment on is regarding personal projects. I lay out a plan, when the day begins (weekend) I don't open anything (social media) I just immediately work on this project. Thankfully I can dump the most of the weekend days toward the project.