I see work primarily as my means to achieve survival+comfort in society as it is much established throughout the modern world. I enjoy my work at times, but when I don't, I rarely lament this because I understand how difficult survival "on nature's terms" is. If I weren't writing code, checking/aggregating data, or fooling with Excel to mete out my survival, then I might be running through forests or fields after prey, trying to set traps, trying to raise crops or forage for wild vegetation, finding furs to keep warm, building shelter, etc. - which is much harder than what I am able to get away with now.
I don't believe in "purpose" in some grand sense. I feel that we each decide our own purposes and activities. So I feel I can't really see my work as my "purpose." If anything, my purpose (which I have chosen) is more to make sure my family is provided for and I raise my kids with as much love and comfort as I can personally provide. So, my work in that respect ends up being a means to help me meet that end. Don't get me wrong - I feel loyalty to my company, and I provide them a good work ethic and quality work, but I just understand that I tend to do those things for selfish reasons. To that point, I tend not to get attached to my coworkers, unless we hit it off as friends in some deeper way. I don't feel that this is regrettable in any way. It doesn't really matter, after all. It is a mutually beneficial relationship. What could be wrong with that?