You'd better be God-damned certain you want to dedicate a large chunk of your life to the military before joining up. I've got a buddy who was thinking along the same lines as you and regretted it ever since.
If you don't like your job, get a new one, but you'll probably like the armed forces a LOT less.