'Your decisions are not working out for you': homeless man sent to jail