Will spamming the same few exercises help build strength and a bit of muscle?

I'm quite new to working out and stuff and can only work out at home with no equipment besides two 1kg dumbbells. I'm very skinny and weak so now that I started T I want to take advantage of that and build a bit of strength so I could go to an actual gym.

I was wondering if spamming some dumbbell exercises until failure everyday (or every other day) would help me gain some strength and or muscle.

Being new to working out idk all the names of the exercises so sorry, but I've done lateral raises, bicep curls, squats (I think) and one where you hold a dumbbell with two hands behind your head and do like a throwing motion (again really sorry for the confusing terms here💀) Any advice will be welcomed with open arms