During my lifetime quest for the truth re the source and genesis of racism, I discovered an element and component of the source of the vast wealth of the Catholic church.
It's really quite simple yet is immensely profound in it's application and impact on the ways and means in which the Catholic Church accrued and accumulated it's wealth and holdings:
The principle of primogeniture:
"Primogeniture (English: /praɪməˈdʒɛnɪtʃər/) is the right, by law or custom, of the paternally acknowledged, firstborn son to inherit his parent's entire or main estate, in preference to daughters, elder illegitimate sons, younger sons and collateral relatives..." ------Wikipedia
The clerical vows of chastity and poverty when combined with the requirements of celibacy ensured that the Catholic Church would inherit the estates of deceased clergymen who, as first born males, would inherit the estates of their parents.
During the Middle Age, or Dark Age, feudalism was the common economic and financial paradigm...The rule of primogeniture was a controlling factor in the acquisition and distribution of wealth..
The Catholic Church engaged in the practice of selling indulgences to feudal lords which oftentimes included the exchange of a prominent position in the Church's clergy to the firstborn son for the promise of salvation and entrance into heaven ...
The kid got to become literate and a priest or a bishop or cardinal and the Church got richer from the kid's inheritance of the estate of his parents. Due to his vow of poverty, everything he would inherit went to the Church...
A few hundred years of that can cause the Church to want to hide all manner of debauchery, depravity, and perversion...