Well, the second one is wrong. It should be "why did you forsake me?"
The meaning is the same in both, but the first is written in the language used at the time the King James translation was written. It's archaic now.
Here's a fun link:
Greffindel's Guide To Archaic English Grammar
[not a teacher]

Other
Bookmarks