Dada Bhagwan said this quote

When the mind gets a solution [settlement], it is considered religion. It is considered irreligion when the mind does not get a solution.