A husband who went on a violent rampage with a shovel after discovering his wife and brother having sex in a car while his mum was in the front seat has learned his fate in court.