Oh this old chestnut again. Republicans like to take what Pelosi said out of context. You didn't even get the quote right. She said:

 “But we have to pass the bill so that you can find out what is in it – away from the fog of the controversy.”

"Her contention was that the Senate “didn’t have a bill.” And until the Senate produced an actual piece of legislation that could be matched up and debated against what was passed by the House, no one truly knew what would be voted on."

https://www.washingtonpost.com/blogs/post-partisan/post/pelosi-defends-her-infamous-health-care-remark/2012/06/20/gJQAqch6qV_blog.html?utm_term=.52518e490114