Yahweh in hebrew means my Lord and is a common reference meaning supreme God.In the bible satan is referred specifically
as the
adversary in hebrew or slanderer in greek its quite clear there is no confusion.Satan is not in the same league
as God he is sovereign in fact God has satan on a leash and limits his control particularly over his people
as we read in Job.Christians need to realise that satan can influence us if we walk according to the flesh.In the case of David calling a cencus meant he gave in to his pride he wanted to know how many soldiers he had believing numbers would give him the upper hand and so Satan took advantage of his weakness and Davids choice displeased God.David of all people should have known
as he
as a young man had defeated goliath a mighty warrior and it was because of his faith and trust in God that he overcame.But it wasnt God that made David make that decision it was his own and satan tempted him and he gave in to that desire In the two verses there is no confusion if you understand how God and satan
operate i did at one stage have the same issue with Jesus sending the demons into the pigs why would he help satan or at least it appeared that way?