That’s like saying caffeine or aspirin is a gateway drug because you probably try those before harder drugs. That’s not the only qualification for a gateway drug: it has to significantly increase the likelihood of trying additional drugs, which marijuana in the US does not. Elsewhere it varies, but in the US, you’re not more likely to try heroin because you’ve tried marijuana.
That’s like saying caffeine or aspirin is a gateway drug because you probably try those before harder drugs. That’s not the only qualification for a gateway drug: it has to significantly increase the likelihood of trying additional drugs, which marijuana in the US does not. Elsewhere it varies, but in the US, you’re not more likely to try heroin because you’ve tried marijuana.