Bendigo man given chance at rehabilitation before sentence