This Bible contradiction is from the Skeptic's Annotated Bible.
My God, my God, why hast thou forsaken me?
Matthew 27:46 View context
And about the ninth hour Jesus cried with a loud voice, saying, Eli, Eli, lama sabachthani? that is to say, My God, my God, why hast thou forsaken me?
Father, into thy hands I commend my spirit.
Luke 23:46 View context
And when Jesus had cried with a loud voice, he said, Father, into thy hands I commend my spirit: and having said thus, he gave up the ghost.
It is finished.
John 19:30 View context
When Jesus therefore had received the vinegar, he said, It is finished: and he bowed his head, and gave up the ghost.