David was a Jew, not a Christian. After Jesus' Resurrection, everything changed.
David was still saved the same way. Faith in the messiah. If you want to be technical, christians are grafted into the house of isreal. Not the other way around. Read Romans 11