How did the church try to reshape the coat of chivalry?

The church attempted to reshape the code of chivalry by promoting the idea of chivalric virtues, such as humility, loyalty, piety, and selflessness. They also emphasized the importance of using chivalry in service to God and the church, rather than simply in the pursuit of personal glory or wealth. Additionally, the church sought to discourage behaviors associated with chivalry that were considered sinful, such as violence, adultery, and greed. Through preaching, teaching, and guidance, the church hoped to influence knights and nobles to uphold a more spiritual and moral code of conduct in their chivalric practices.