A husband accused of murdering his estranged wife allegedly stood to lose a “substantial” amount of money, a court has been told.