Judge Cooper said Philpott later told a probation officer he had done it out of revenge for the victim's actions towards his mother.
The judge said at the time of the offending Philpott was smoking a large amount of synthetic cannabis, which he had since given up.
"You led a completely useless lifestyle with drugs featuring large in your life."
He said Philpott had no previous convictions and testimonials indicated his actions were completely out of character.
"People said [there's] been a significant change in your life since you stopped involvement with drugs, particularly synthetic cannabis."
Judge Cooper said home detention rather than prison was appropriate in this case.
He told Philpott he had the ability to turn his life around now he'd given up drugs as he was a "reasonably decent sort of person".
Philpott's home detention conditions include not to possess or consume alcohol, illegal drugs or synthetic cannabis.