What does it mean to choose the rich and follow them?

It means: choose a rich man as your partner.

"Choose" means to choose, "rich" means to be rich, "disciple" means to be a partner, and "wisdom" is a pronoun, which means to be rich before. It expresses people's concern about the economic situation in marriage. In ancient society, marriage was often closely related to economic interests, so choosing rich people as partners became one of the goals people pursued.