“Philosophy is the study of how to live one’s life while religion is a strict dogma”.
Not sure the first half is true; that would rather be ethics, one branch of philosophy. Philosophy also covers the study of the nature of the universe, thus metaphysics, and other areas.
The second half shows the problem; organised religions have degenerated and lost touch with their original spiritual source.
“Matthew, Mark, Luke, and John wrote the Gospels. Luke didn’t even know Jesus personally and John wrote his gospel thirty years after Jesus’s death. Only Matthew was an apostle of Jesus”.
You would seem to be conflict here with most biblical scholarship. John’s gospel is usually dated the last of the four. What is your evidence for thirty years? And what is your evidence that Matthew was an apostle?
Best wishes