Motherhood Necessary for Salvation

Gospel Doctrine: Selections from the Sermons and Writings of Joseph F. Smith, p. 288; “Motherhood lies at the foundation of happiness in the home… Can she be saved without child-bearing? She indeed takes an awful risk if she wilfully disregards what is a pronounced requirement of God. How shall she plead her innocence when she is not innocent? How shall she excuse her guilt when it is fastened upon her?” – Joseph F. Smith

Romans 10:9; “That if thou shalt confess with thy mouth the Lord Jesus, and shalt believe in thine heart that God hath raised him from the dead, thou shalt be saved.”

Again I ask the question; how many kids are enough to secure your place in heaven if this is the standard? I can’t help but think this teaching mimics prostitution. Why do you have to have sex to be approved of by God?