Do good people sometimes do bad things?
Do bad things happen to good people?
Is God powerful enough to still use those people in His great plan? Yes
Both Rahab and Ruth came from cultural groups that it would seem should be excluded from the lineage of Jesus, but God had a way to use them and their faith in His great plan.
Looking at the tapestry of life from God's point of view brings many things that seem out of place into focus and shows us His beautiful plan for it all.
When your "worst case scenario" happens, will you still praise God? Praise is never more special than those times it is offered as a sacrifice out of a broken heart.
Are you equipped with the whole armour of God?