Compounds of the invention, such as compounds of Formulae Ia, Ib, Ic, or Id and pharmaceutically acceptable salts, isomers, and prodrugs thereof, which are useful as modulators of the activity of liver X receptors, where R1, R2, R21, R3, and G are defined herein. Pharmaceutical compositions containing the compounds and methods of using the compounds are also disclosed.