This is part because working smarter requires learning from all the mistakes and failures you have. You simply get through more of those faster the more time you put in. Another word for this is experience.
If you want to work smarter, start by working harder. Your brain and body figure out to work smarter by themselves the harder you work.