Our dog who was alone all day was always very upset when I got home.
Why do you think he was upset?
It's because he doesn't like me now after I have left him alone.
Your have left your pet alone all day I see. Take the dog with you, he will behave if he is well trained. Otherwise your dog will never want you around it anymore, and you will have to give it away.
My dog knows that I will never do it. I am the boss, and my dog and I will always stick together.
I'm glad that you are willing to keep the dog no matter what. Just make sure he stays happy so that he loves you back!