The quantitative development of the nonergodic mobile order thermodynamics involving the new interpretation of the hydrophobic effect leads to a general solubility equation. This equation is applied to predict the aqueous and alcohol solubility of chemicals ranging from nonpolar or slightly polar with no H-bonding capacity to polyfunctional polar compounds including pharmaceuticals. The analysis of the relative importance of the contributions involved in the solubility model [i.e., the fluidization of the solute (for solids), the correction for the mixing entropy, the change of the nonspecific cohesion forces, and the formation of solvent-solvent (hydrophobic effect), solute-solute, and solute-solvent H-bonds] unambiguously demonstrates that the hydrophobic effect is essential for predicting the aqueous or alcohol solubility of any substance in general, and of nonpolar compounds in particular. The difference between the origin of the solubility of hydrocarbons in water and of water in hydrocarbons is furthermore presented. In both cases, the quasilinear solubility dependence on the molar volume of the hydrocarbon is of an entropic nature.