That's true. All the banks were forced to take bailout money because the concern was if a sound bank was allowed to refuse, shaky banks would either be punished in the market for accepting or worse would be pressured into refusing when they actually needed the money.
GS paid the money back literally as soon as they were allowed to.
http://usatoday30.usatoday.com/money/economy/2009-04-14-tarp...