I've seen it many times, usually in bumper-sticker form: "Well-behaved women rarely make history." The message, of course, is that women should break out of their expectations for behavior if they really want to make a difference in the world.
But it seems to me that I can list a lot of good women who behaved according to appropriate principles who also made a big difference in the world. Eve, Miriam, Deborah, Mary, Elizabeth and Anna are women in the Bible who come to mind. We could also mention people like Betsy Ross, Florence Nightingale, Emily Dickinson, Jane Austen, and Jackie O., who are certainly famous and not for doing anything "wrong". Personally I choose to defy the message that a woman can't be important if she is good.