Not in Genesis. But yes the Church most certainly did endorse the Ptolemaic system as a political move against the Protestant North, and did persecute Galileo for supporting Copernican theory. To suggest otherwise is silly. The Vatican documents are there.
While the Catholic Church certainly persecuted Galileo for supporting Copernican theory, it was mostly after he had gone out of his way to insult Pope Urban VIII in Dialogue Concerning the Two Chief World Systems. Prior to that, he had the support of the Jesuits and had permission from both the Pope and the Inquisition to make his arguments in Dialogue. Effectively calling Pope Urban VIII simple minded was not an effective way to further Galileo’s views on cosmology.