Answer: It depends on the properties of the soul that are required for correction.
I don’t recommend intervening and engaging in genetic engineering to determine the gender of future children. We should not be doing that.
Anyway, you can’t fool the Creator. The gender of the child and his characteristics are determined by the general Kli (vessel) of the soul that needs to be connected into one.
From the Kabbalah Lesson in Russian 6/9/16