Those who use the Bible as a reference for moral behavior are simply cherry-picking those teachings, such as the Golden Rule, that they have independently decided are moral for other reasons, while ignoring those teachings with which they disagree.
Victor J. Stenger (2012). “God and the Folly of Faith: The Incompatibility of Science and Religion”, p.120, Prometheus Books