Does omnipotence mean that God can literally do anything? No, that is not the meaning. There are many things God cannot do. God cannot do what is self-contradictory or nonsensical, like squaring the circle. Nor (and this is vital) can God act out of character. God has a perfect moral character, and it is not in him to deny it. God cannot be capricious, unloving, random, unjust, or inconsistent. Just as God cannot pardon sin without atonement, because that would not be right, so God cannot fail to be faithful and just in forgiving sins that are confessed in faith and in keeping all the other promises God has made. Moral instability, vacillation, and unreliability are marks of weakness, not of strength: but God's omnipotence is supreme strength, making is impossible that he should lapse into imperfection of this sort.
The positive way to say it is this: though there are things which a holy, rational God is incapable of intending, all that he intends to do he does. "Whatever the Lord pleases he does" (Ps. 135:6). As when he planned to make the world, "he spoke, and it came to be" (Ps. 33:9), so it is with everything that he wills. With people "there's many a slip twixt cup and lip," but not with God.