Not good. Do you know for sure if what he did to you was no purpose? Plus, he's kinda homeless. His life is already crappy as it is, and you made it worse.
The Golden Rule is "Do unto others as you would have them do unto you," not "Do unto others as they have done unto you."