Roman Catechism 3.32

Chapter 3 — Part I: The Creed — Article I: I Believe in God, the Father Almighty, Creator of Heaven and Earth

Section 32. But though God can do all things, yet He cannot lie, or deceive, or be deceived; He cannot sin, or cease to exist, or be ignorant of anything. These defects are compatible with those beings only whose actions are imperfect; but God, whose acts are always most perfect, is said to be incapable of such things, simply because the capability of doing them implies weakness, not the supreme and infinite power over all things which God possesses. Thus we so believe God to be omnipotent that we exclude from Him entirely all that is not intimately connected and consistent with the perfection of His nature.