If you use the knife as the weapon in order to protect yourself, it means that you feel as being attacked by something or someone. You know that there is no one that can protect you, but yourself. The knife thats been used against you indicates the dangers you could put yourself into. The dream suggests to be more careful with people you know.
Dream dictionary: being attacked with knife dream meanings
…Dreaming of firearms (the bigger and powerful, the worse) means an alteration of the nervous system. Firearms in a dream foretell that the dreamer fears that new war or an attack occurs in his personal life. This dream is more common in young men who do not wish to participate in any war. Dreaming of small and commonly used weapons indicates fear of being assaulted or attacked by your enemies by surprise. When a woman dreams of weapons, particularly firearms, it suggests that somehow shes getting involved with military people. Weapons in general, indicate violence, brawls, quarrels, fights, unfair competition in the case of commerce, envy, jealousy and betrayal. Dreaming of being wounded by a knife indicates that someone is betraying the trust of the dreamer. If you have been shot to death by a gun in a dream, it can be severe sign and announce that someone close…