See section 38.6.4 of the April 2022 General Handbook.
Present day prophets have specifically removed the mention of the curses and
teach "It should be left between the couple and the Lord. Church members should
not judge one another in this matter".
God still punishes those who break His commandments.
But the number of children to have should not be small as per President Kimball.
"The Church cannot approve nor condone the measures which so greatly limit the
family" (Teachings of Spencer W. Kimball, 328–29). (mentioned in Eternal Marriage
Student Manual Religion 234 and 235).
"The Church of Jesus Christ of Latter-day Saints strongly encourages married couples to
have children. It is against birth control ... We seriously regret that there should
exist a sentiment or feeling among any members of the Church to curtail the birth of
their children".
"Where husband and wife enjoy health and vigor and are free from impurities that would
be entailed upon their posterity, it is contrary to the teachings of the Church artificially
to curtail or prevent the birth of children. We believe that those who practice birth
control will reap disappointment by and by" (May 1971 Ensign).
"Be fruitful, and multiply, and replenish the earth" (Guide to the Scriptures, Birth Control).
“The first commandment that God gave to Adam and Eve pertained to their potential
for parenthood as husband and wife. We declare that God’s commandment for His
children to multiply and replenish the earth remains in force" (The Family:
Proclamation to the World).