Religion involves the worship of a god. Freemasonry does not offer worship services.
One prerequisite to becoming a Mason is the belief in a higher power. Freemasonry makes no attempt to define that power for their members. Whereas many religions tend to be divisive and exclusionary, Freemason is inclusive and democratic.
Although, portions of books of the old testament are often used to provide allegory, there is no favored or promoted religion dogma, in fact, discussions of politics and religion are strictly prohibited within a lodge.
Freemasonry is a system of morality, veiled in allegory and illustrated by symbols.
If you have questions, ask: firstname.lastname@example.org