God knew thier hearts. Life is about free will and choices. Learning and understanding. Love and sacrifice. But most of all life has a purpose.
How do you know it was bigotted? You weren't there. God knows every man better than you know yourself. (If you were there I am assuming you would have been with Noah because you seem to want to be good) But, God is good and guarantees that every good man will be in heaven forever. I am assuming you are one of them whether you believe in God or heaven or nothing because I am assuming you have a good heart and you are choosing to love God and do His will to the best of your understanding.