It is more subtle that that. Patent holders who contributed to the 3G/4G/5G standards agree to make their standards essential patents available under FRAND terms. However, this does not apply to patent holders who have not contributed to the 3G/4G/5G standards (because they are not part of any agreement about patent licensing terms for the standard).