He’s stuck in a dead end job.
He thinks everyone around him is an idiot.
He’s not getting an recognition.
He’s like Luke Skywalker, he feels stuck and like his life isn’t going anywhere. He wanted all these things, and somehow he ended up here.
Luke isn’t actually stuck on Tatooine, he wants to be fighter pilot. Miles wants to be this great writer. He wants to be recognized.
ETA: New Miles just waltzes in with his happy-go-lucky attitude and charms the pants off everyone (literally and figuratively) and starts getting all the things old Miles always wanted.