This is very poor, but oft given, advice.
If it appears to the bankruptcy judge that you knowingly ran up the cards just prior to the BK, the judge may not admit that debt to be joined.
Yes, I know there are incidents of the judge not noticing/caring. There are just as many where the judge does.
I, personally, would not take the chance.

