This is an interesting topic. Hmm........the word "good" is very subjective. What is "good" to one person may be "bad" to another. It's a difficult question to answer because there are way too many factors that play into this. For example, individual A might pray 5 times a day and have a disrespectful and unpleasant disposition. On the other hand, individual B might struggle with prayers but could be the kindest person.
When it comes to the harrowing rishta ordeal.........it has a lot to do with your own priorities as an individual. You have to ask yourself what qualities do you value in a person and a family. Is it clean reputation, wealth, respectful demeanor, humility, being religious. And then you also have to consider how you order the qualities. What carries more weight?
Of course, it's WISE to to thorough investigation about the prospective family and to spend sufficient time getting to know them.........before making a life-altering decision such as marriage.
And while "good family" is a subjective idea, it's humbling to keep in mind that none of us are perfect. Most people in this world are fairly decent. They are shades of gray in each of us. We are neither purely good nor purely bad. We all have days when we're not at our best........it's human to make mistakes and be subject to mood swings, greed, petty jealousies, etc.