The book of Esther in the OT has many examples of imperfect people being faithful to God

in the midst of pagan people.