That's an indictment of sola scriptura, not an endorsement of it.
And while Christ wasn’t married Peter sure was.
The Bible mentions that Peter had a mother-in-law, but says nothing about a wife -- he could have been a widower and still have a familial relationship with his mother-in-law. To get a clear statement that Peter was married both before and after Jesus' public ministry, you have to turn to extra-scriptural sources like Eusebius.
And Eusebius acknowledges that Peter was married. He and his wife were martyred a day apart.