The bible is a book written by men so in a time where hatred and power play was the status quo. If God exists don't let him justify your hate when his only true purpose is to give you comfort.