For better or worse, the Catholic church has shaped most of western philosophy for at least 1500 years, including topics not necessarily related to existence of a deity or belief in that existence. It's not surprising that some of their thoughts seem sound and consistent with your ethics.