We betrayed both him and Mubarak. Obama wanted the secular leaders (and allies of the US) to fall, and they did.
Others who might ally with us in the future surely took notice.
Your concern for the "humanitarian crisis" in Libya rings hollow given what is going on in the Levant right now. Obama didn't even worry about Syria gassing his own people. I highly doubt he betrayed Qaddafi out of concern for the Libyan people.
This message has been edited 2 time(s).