The Bible clearly teaches that God created good as well as evil. This is a puzzle to many and rightly so because we wonder how a God of holiness could create something called evil. As we read the Bible we discover this 'God is light and in him is no darkness at all'. We also discover that God is kind, compassionate, caring and loving. This is all summarised in the statement 'God is Love'. So there is no indication that God acts in an evil way despite the fact that at times we do not understand why he allows certain circumstances in our lives.
There are other very clear statements in the Bible which indicate that God expects people to obey his holy commandments and principles for their blessing and well being. But the Bible does state that God will judge all men according to his standard of righteousness on the day of judgement and our only hope of salvation is found in His Son, Jesus Christ.