Yielding on main road

New driver here, I was on the main road trying to enter my neighborhood with a right turn but there was a pedestrian about to cross, a car behind me would not stop and honked at me as I was stopped waiting for the person to finish crossing and luckily they ran so I could enter, if there had been a crash would I have been at fault? Ive been in a crash before and am genuinely scared, would have yielding to someone possibly costed me a crash or my life?