Both of these phrases mean the same thing. The writer is asking Yahweh to make them happy for the same amount of time he punished them. Alternate translation: "for the same amount of time that you afflicted us and caused us to suffer" (See: [[rc://en/ta/man/translate/figs-parallelism]])