2 Jacob became angry with her and said, “Am I in the place of God, who has kept you from having children?”

Read Genesis 30:2 Using Other Translations

And Jacob's anger was kindled against Rachel: and he said, Am I in God's stead, who hath withheld from thee the fruit of the womb?
Jacob's anger was kindled against Rachel, and he said, "Am I in the place of God, who has withheld from you the fruit of the womb?"
Then Jacob became furious with Rachel. “Am I God?” he asked. “He’s the one who has kept you from having children!”