The examples they use are completely taken out of context.
God didn't put them in the Bible to show how he can use evil men.