Hi Kim, do take note of Winenhoe’s comment and suggestions about accessing the church record for full information, to confirm that this is your William.
However, I actually think that marriage transcript that you have posted is probably for the correct man. Usual residence is Gulong which is where his father died just a few weeks earlier, and his brother Christopher is a witness to the marriage. Also his first child is named Elizabeth, perhaps after his mother.
The tree on ancestry claiming that this William Fenton is the son of William and Jane Curry has a number of errors, and no documentation to support this claim, or to support other information which appears problematic. Don’t be put off or swayed by public trees on Ancestry where there is no supporting documentation.
This William Fenton died 8 Sept 1896 at the Sofala Hospital of pneumonia (8 days). The informant at his death was not a relative, but Henry Hinton – recorded as both “Medical attendant” and “Secretary”. His death certificate is a mish-mash of part truths and complete confusion - a good example of how easily incorrect information is recorded by someone who does not know the deceased.
• William Fenton, age 53, occupation miner, born Blayney NSW.
• Father’s name - William Fenton; mother’s maiden name Thompson
• Married at Gooyong at age 22, spouse Mary Ann Thompson
• Children of the marriage: Elizabeth Anne 22, William Edward 20, John Henry 18, Hilda Mary 16, all living.
• Buried 9 Sep 1896, General Sofala, Church of England, Minister Henry Glasson, Witnesses Jas and Joseph Goodlet.
Added: newspaper notice re this death of Fenton in Sofala.
https://trove.nla.gov.au/newspaper/article/63933936?searchTerm=Fenton%20AND%20Sofala