The Catechism of the Catholic Church connects the command against coveting with the command to "love your neighbor as yourself."[9] Ibn Ezra on the question of "how can a person not covet a beautiful thing in his heart?" wrote that the main purpose of all the commandments is to straighten the heart.[10]