Source: Superman vol.1 #163 (1963)
The story begins with Superman drilling under the Earth to put beams inside the planet's crust and prevent an impending earthquake in a "distant Western city".
As per the Silver Age Superman formula, this WHAT THE--?! set-up is followed by one of several flashbacks to explain said set-up. Wonder-Man started life as Ajax, the best and brightest of Superman's robots. That's how he knows Superman's schedule, identity, etc. Recently, Superman asked Ajax to fly into space to stop a meteor swarm moving towards Earth while he went on his earthquake-prevention task in, as it turns out, earthquake-riddled Canada (STOP DIGGING THROUGH THE EARTH, SUPERMAN!!!).
But it doesn't work. Wonder-Man swoops in and throws the kryptonite back into space and he and Superman throw Attal and his ship up there too. Flashback #3 reveals Ajax knew they were bad all along because they'd given him x-ray vision and a suite of super-senses, so he saw/heard them discussing their real plans. He merely PLAYED the part they wanted him to play so he could trap them. Superman is still being outshone, so of course, he needs to say he knew all along too. How?
But they don't have time to get a room. Flashback #4 tells us that Wonder-Man also heard the baddies talk about the expiration date on his new body. Alas...