But that is exactly the point. Air conditioning doesn't keep heat out - it burns energy to change the air once the heat has gotten in. There are ways to keep it out in the first place.
FWIW, it isn't either/or - we practice keeping the shades, curtains, and windows drawn when it is hot, open when it is cool.... and we have air conditioning. Best of both worlds.