A compound of Formula: or a pharmaceutically acceptable salt thereof; wherein: X is -C(=O)-, -S(=O)-, or -S(=O) 2 -; Y is a bond, -C(=O)-, -S(=O)-, or -S(=O) 2 -; Ring A is oxetanyl, or 7- to 10-membered spiro bicyclic heterocyclyl, wherein two atoms in the heterocyclic ring are independently selected from the group consisting of oxygen and nitrogen; Ring Y is carbocyclyl, heterocyclyl, aryl, or heteroaryl; each instance of R A is independently hydrogen, halogen, alkyl, -OR A1, -N(R A1) 2, or oxo; each instance of R A1 is independently hydrogen, or alkyl, or two instances of R A1 are joined to form a heterocyclyl; a is 0, 1, 2, or 3; R B is alkyl or of the formula: Ring B is carbocyclyl, heterocyclyl, aryl, or heteroaryl; each instance of R B1 is independently hydrogen, halogen, acyl, alkyl, alkenyl, alkynyl, carbocyclyl, heterocyclyl, aryl, heteroaryl, -OR B1a, -N(R B1a) 2, -SR B1a, -CN, -SCN, -C(=NR B1a)R B1a, -C(=NR B1a)OR B1a, -C(=NR B1a)N(R B1a) 2, -C(=O)R B1a, -C(=O)OR B1a, - C(=O)N(R B1a) 2, -NO 2, -NR B1a C(=O)R B1a, -NR B1a C(=O)OR B1a, -NR B1a C(=O)N(R B1a) 2, - OC(=O)R B1a, -OC(=O)OR B1a, or -OC(=O)N(R B1a) 2, or two instances of R B1 are joined to form a carbocyclyl, heterocyclyl, aryl, or heteroaryl; each instance of R B1a is independently hydrogen, acyl, alkyl, alkenyl, alkynyl, carbocyclyl, heterocyclyl, aryl, or heteroaryl, or two instances of R B1a are joined to form a heterocyclyl; b is 0, 1, 2, 3, 4, or 5; R C is hydrogen, or C 1-6 alkyl; R D is hydrogen, or C 1-6 alkyl; each instance of R L is independently hydrogen, halogen, acyl, alkyl, alkenyl, alkynyl, carbocyclyl, heterocyclyl, aryl, heteroaryl, -OR L1, -N(R L1) 2, -SR L1, -CN, -SCN, -C(=NR L1)R L1, -C(=NR L1)OR L1, -C(=NR L1)N(R L1) 2, -C(=O)R L1, -C(=O)OR L1, -C(=O)N(R L1) 2, -NO 2, -NR L1 C(=O)R L1, -NR L1 C(=O)OR L1, -NR L1 C(=O)N(R L1) 2, -OC(=O)R L1, -OC(=O)OR L1, or -OC(=O)N(R L1) 2, or two instances of R L are joined to form a carbocyclyl, heterocyclyl, aryl, or heteroaryl; each instance of R L1 is independently hydrogen, acyl, alkyl, alkenyl, alkynyl, carbocyclyl, heterocyclyl, aryl, or heteroaryl, or two instances of R L1 are joined to form a heterocyclyl; I is 0, 1, 2, 3, or 4; and m is 0, 1, 2, 3, 4, or 5. X is -C(=O)-, -S(=O)-, or -S(=O) 2 -; Y is a bond, -C(=O)-, -S(=O)-, or -S(=O) 2 -; Ring A is oxetanyl, or 7- to 10-membered spiro bicyclic heterocyclyl, wherein two atoms in the heterocyclic ring are independently selected from the group consisting of oxygen and nitrogen; Ring Y is carbocyclyl, heterocyclyl, aryl, or heteroaryl; each instance of R A is independently hydrogen, halogen, alkyl, -OR A1, -N(R A1) 2, or oxo; each instance of R A1 is independently hydrogen, or alkyl, or two instances of R A1 are joined to form a heterocyclyl; a is 0, 1, 2, or 3; R B is alkyl or of the formula: Ring B is carbocyclyl, heterocyclyl, aryl, or heteroaryl; each instance of R B1 is independently hydrogen, halogen, acyl, alkyl, alkenyl, alkynyl, carbocyclyl, heterocyclyl, aryl, heteroaryl, -OR B1a, -N(R B1a) 2, -SR B1a, -CN, -SCN, -C(=NR B1a)R B1a, -C(=NR B1a)OR B1a, -C(=NR B1a)N(R B1a) 2, -C(=O)R B1a, -C(=O)OR B1a, - C(=O)N(R B1a) 2, -NO 2, -NR B1a C(=O)R B1a, -NR B1a C(=O)OR B1a, -NR B1a C(=O)N(R B1a) 2, - OC(=O)R B1a, -OC(=O)OR B1a, or -OC(=O)N(R B1a) 2, or two instances of R B1 are joined to form a carbocyclyl, heterocyclyl, aryl, or heteroaryl; each instance of R B1a is independently hydrogen, acyl, alkyl, alkenyl, alkynyl, carbocyclyl, heterocyclyl, aryl, or heteroaryl, or two instances of R B1a are joined to form a heterocyclyl; b is 0, 1, 2, 3, 4, or 5; R C is hydrogen, or C 1-6 alkyl; R D is hydrogen, or C 1-6 alkyl; each instance of R L is independently hydrogen, halogen, acyl, alkyl, alkenyl, alkynyl, carbocyclyl, heterocyclyl, aryl, heteroaryl, -OR L1, -N(R L1) 2, -SR L1, -CN, -SCN, -C(=NR L1)R L1, -C(=NR L1)OR L1, -C(=NR L1)N(R L1) 2, -C(=O)R L1, -C(=O)OR L1, -C(=O)N(R L1) 2, -NO 2, -NR L1 C(=O)R L1, -NR L1 C(=O)OR L1, -NR L1 C(=O)N(R L1) 2, -OC(=O)R L1, -OC(=O)OR L1, or -OC(=O)N(R L1) 2, or two instances of R L are joined to form a carbocyclyl, heterocyclyl, aryl, or heteroaryl; each instance of R L1 is independently hydrogen, acyl, alkyl, alkenyl, alkynyl, carbocyclyl, heterocyclyl, aryl, or heteroaryl, or two instances of R L1 are joined to form a heterocyclyl; I is 0, 1, 2, 3, or 4; and m is 0, 1, 2, 3, 4, or 5.