Adrian James Basham tracked his ex-wife's movements and told her "if I can't have you, no one will" before killing her and making it look like suicide, a court has been told.
Basham, 45, is standing trial before the Victorian Supreme Court charged with murdering Samantha Fraser, whose body was found hanging from a noose at her Phillip Island home in July 2018, the day after she turned 38.
The pair met in late 2005 and married in 2007 before having three children together.
But after years of domineering and controlling behaviour, prosecutor Nanette Rogers SC said, they separated in 2017, with Ms Fraser taking out intervention orders against him.
Basham then turned up at her Cowes home and waited for 90 minutes, while she dropped their children at school and had coffee with a friend at a local cafe, before killing her.
"He strangled her with rope and then hanged her with the rope from the garage door," Ms Rogers told the jury in her opening remarks.
"The accused then set about manipulating the crime scene to make it appear as though she killed herself."
Basham had threatened Ms Fraser after they separated, the prosecutor said, warning her that violent criminals could easily break into her home.
He also told her that "if I can't have you then no one will".
The 38-year-old changed her locks and deleted a location app on her phone which she thought Basham was using to track her.
He then called Ms Fraser within an hour and berated her, Ms Rogers said.
Basham also told one friend "just you wait and see, I'll get her", the prosecutor added, while telling another friend he could follow her location through her phone bills, still linked to his account.
In the weeks before her death, Ms Fraser told friends she felt unsafe and feared vindictive behaviour from Basham.
Defence barrister Ashley Halphen said the fact Basham assaulted Ms Fraser on the day she died - and therefore breached his intervention order - was not in dispute.
But the 45-year-old man denies murdering his ex-wife, with Mr Halphen arguing that Ms Fraser took her own life after Basham left her home.
"This trial is more of a 'whodunnit' than anything else," Mr Halphen said.
"This is a case about the human condition - how it works, and how it doesn't work.
"This is also a case about perception. You will need to consider giving a context to people's perception of other people."
The trial continues.
1800 RESPECT (1800 737 732)
Lifeline 13 11 14