Check out the two accounts of David and the census.
In the pre-exile version god made David do it and then he kills thousands of Israel to punish David - psychotic god
In the post-exile version Satan made David do it and god punishes David by killing thousands of Israel - vengeful god.
Pre-exile bad things happen because god does good and evil and who is man to question him? Post-exile god has a nemesis who does bad shit. God goes from being evil to being weak.
In the 21st century people still believe this nonsense.