But Uzziah wasn’t killed. He died, likely by a combination of static shock, fear and cardiac arrest. If the cause of death was determined by a forensic pathologist, it would not be that he was killed or murdered by God.
That’s kind of the thing though… It is the people in Scripture that assign blame to God for bad things happening. It does not make Scripture inaccurate for reporting where the blame was applied. We need to differentiate what people in Scripture say from what God actually says. But God doesn’t reject the blame being put on Him and this is consistent with what Jesus does for us in taking all our sin upon Himself, whether we blame ourselves or blame God, He took it all and died on the cross for us.