What they're saying is don't make any changes in your relationship with your family until you no longer rely on them for anything.
That means don't come out until you at least no longer live there. That doesn't mean you have to keep it a secret from everyone- a good first step is telling a progressive friend you trust. Once you realize others don't react badly and instead fully support you, you'll start to wipe away some of the mental roadblocks that have kept you unhappy or scared.
Honestly, it sounds like you probably are gay or maybe bi and have been repressing it quite a bit/not even allowing your mind to entertain the thought because of your environment and how you were brought up. You might find solace in knowing that this isn't unusual for guys in situations like yours (heavy handed religious upbringing and homophobic families). You might find a support group online for guys in your situation.
A few more things: