"Your time to die" A biblical perspective

Dear Wynand an Rockie. "It is always said that when you die it was your time to die. Can it be true? Is it your time to die when you
are murdered
are shot dead
are killed in a car accident
are washed away in a river and drown
are poisoned by eating food someone gave you
etc.?
Please explain. Thank you."