That’s what im finding but cant find any proof of it
Well if you look at the dates alone you will see that unless the mother was 11 when she had the child this would not be possible.
'Do you mean that Elizabeth Devlin (1836-1922) is the daughter of William Anderson (1816-1862) & Margaret Wishart (1825-1896)?"
It would be more likely that William could be the father, aged 20 but unlikely that Margaret Wishart was the mother as her age would be 11.
Some thing has gone wrong with these ideas.
I know that others have had various good ideas.....my suggestion is that you do a slow but sure stepping back from you, to parents, grandparents etc. Get the documents, examine them as even with those closest to you you may find things you did not know beforehand.
Make sure to check the ages write them down beside the dates......so you don't have 11 year olds being married and giving birth.....or if you do write up and say why you know it is true so we don't have to counter these seemingly mistakes.
My other big tip is to stay away from the family trees of others until you have a good idea of your own.