With due respect, not all snakes behave like this. As a kid, I lived on what was locally known as 'Snake Highway' in a valley. We had browns, taipans, red belly black snakes, tree snakes etc. Often they were found in and around the house looking for rats etc to eat. They would rear up and get very irritated if they felt trapped. We had no phone nor electricity and our nearest neighbour was 3 miles away. It was the rifle or hoe that was used to get rid of them. Or our cats would circle them until someone came with rifle or hoe.
Some came for the sun, but most came for food. At 5yo, with the help of my mother and cats, we could hunt out any snake and I would shoot once and no more snake.
Nothing worse than going to sleep knowing there was a snake or two in the ceiling.
https://environment.qld.gov.au/wildlife/animals/living-with/snakes/frequent-questions