No, but you chose the claims of the narrative. I seriously doubt a god had the baby murdered, but this is the narrative you chose to believe. It fits the ruthless god you worship. It fits the barbaric nature of your superstition. It fits the mentality of ancient men. So it has become the "word of god" to billions of believers.<quoted text>
We don't choose the punishment when God judges
To me it is but the word of ancient barbaric men who were extremely superstitious and thought kings had a short line to god.
Take the outsiders test. A god who murders the innocent babies like this is not a moral and just god.
If you are looking to this god for morals, then if you follow its ways, you could become a killer of babies to punish the sins of the father. Of course this is not a just system.