Maybe. One key factor in understanding fault when you’re injured on someone else’s premises is why you were on the property in the first place. If you were at a store to buy something, or you were at a friend’s house to eat dinner with them, you are not expected to investigate the property for every possible danger. The property owner must make some effort to warn you of the dangers. On the other hand, if you didn’t take steps to avoid an obvious danger (like walking around a giant hole in the floor or into a visible spill of a slippery liquid), your injury lawsuit might not survive in court.
If you were trespassing on someone’s property, the owner has very little legal obligation to protect you from hazards.