You are confusing Prophet Muhammad with God
He did marry a six year old
But that was standard for the time, even in places like Europe
To many today he is a rapist
But he is not
Where he grew up, rape was punishable by DEATH
He died of an illness at 63