If adultery in the bible is bad, isn't worshipping God while married adultery?

Hi guys, there is always something niggling at me about the bible that makes me wonder about this question: adultery is bad, no question about it in any sense, however, if God demands that you worship him and only him, but allows you to be married. Yet you still have to attend to His needs and your husband's, if going by the bible, doesn't it make God the homewrecker?

God is meant to be all good and Lucifer who fell from grace because of questions asked as well as a disagreement of views, then why did God make adultery bad, yet commit it himself if he asks humans to keep worshipping him while married?

Please note: This is not an attack on the religion, nor am I religious so do not attack me for not being religious or for not understanding. I am trying to understand what makes certain religions more appealing to the masses when certain things in the teachings are creating opposition to each other. Thank You.

Updates
+1 y
I would also like to point out that any question i do ask is to have a discussion about religions themselves, their teachings and human nature. Some of my questions may seem childish or stupid to many of you, however, i myself am neither unless I CHOOSE to be. In this case, i am not. I want to understand faith and devotion, why is it the way it is? What compels a human to give this to someone they do not even know?
If adultery in the bible is bad, isn't worshipping God while married adultery?
Post Opinion