Perseus returned to argos with his mother danae and his wife Andromeda. In their way back home, there was a festivity or a game called the javeline. Perseus entered the game, when he is the one who will throw he accidentally throw the javelin to an old man who is King Acrisius.
So in the end The Oracle has been done.