I would encourage you to ask the Holy Spirit to reveal to you the purpose of those stories according to the context and not just take the outcome as an accusation that God is the one for the deaths. There’s no revelation in your statement neither is truth.