How can God have the power to do anything but not be capable of doing wrong?
While God is all-powerful, it does not mean He can do things that are contrary to His nature. He has told us that there are things He cannot do. God cannot sin (I John 1:5). God’s promises cannot change (Hebrews 6:17-18). He cannot lie (Titus 1:2). He cannot deny Himself (II Timothy 2:13). Perhaps some would claim these are limits on the power of God. Yet, these are fundamental characteristics of God. If God could do these things, then He would not be the Almighty God that we worship.