Basing the success of one's strategy on getting lucky may work for dance hall lotharios, but it's not necessarily the most reliable strategy for building a winning basketball team.
I infer from Houston's action that they were sick of losing, didn't see winning in their near future with the current crop of players or a strategy of continuing to speculate in the lottery ad infinitum, and decided to pivot to bring capable veterans on board, notwithstanding the criticism they initially took for it.