President Trump told Wall Street to "wave goodbye" to the money that Puerto Rico owes because the large debt crushing the U.S. territory will have to be dealt with.

"They owe a lot of money to your friends on Wall Street, and we're going to have to wipe that out. You're going to say goodbye to that, I don't know if it's Goldman Sachs, but whoever it is, you can wave goodbye to that," Trump said during an interview on Fox News that aired Tuesday evening.

Trump, who visited Puerto Rico on Tuesday to survey the recovery efforts and meet with local officials, said earlier in the day that Puerto Rico has thrown the federal government's budget "a little out of whack" with its need for disaster relief funding in the wake of Hurricane Maria.

Puerto Rico filed the biggest bankruptcy in U.S. municipal history back in May and has been struggling to rebuild itself and its economy ever since. A series of hurricanes that have rocked the island in recent weeks have not helped its situation.

The island's 3.5 million residents are now dealing with shortages obtain food, water, and electricity, and on Tuesday evening it was announced the death toll tied to Hurricane Maria had been more than doubled to 34.