Getting your kid to listen

How are you guys getting your kids to listen to you? My son listens to my husband but not to me. Its literally hell when my husband isnt with me and my son. Im currently outside on a walk after waking my husband(he works nights so hes sleeping during the day) because my son was being a terror and emptying my cubboards, and my pantry onto the floor. I physically removed him from the kitchen and pantry multiple times. After an hour of that he got into stuff in the living room that he wouldnt dare touch if his dad were out there. I feel like I'm failing. I feel like my son hates me. I feel like he'd be better off if I left and never came back.