These were the recordings of Jewish peoples lives during those days...and CXhristianity was practised by a few hundreds of people after Christ teachings. Bible is the recordings of still previous days of Christ or Christanity.
Jesus 's Teachings dont make the whole Bible....So clarity shows that What Old races did was not approved by Jesus Christ or Christians and appreciators of Christs teachings including Gandhiji.