Buddhism isn't even a religion but a philosophy and a way of life.
Please refrain from assuming. It's probably the other way around, it's a religion with a lot of philosophical aspects.