Let me give you an example Kaylagirl. Hopefully you don't run away and be honest, even if you don't understand.
Deuteronomy 22
28 If a man find a damsel that is a virgin, which is not betrothed, and lay hold on her, and lie with her, and they be found;
29 Then the man that lay with her shall give unto the damsel's father fifty shekels of silver, and she shall be his wife; because he hath humbled her, he may not put her away all his days.
This was law in the day that it was written. Regardless of raping and then marrying her if it was discovered, how does this affect or even apply to God who is Spirit ? It doesn't! It's only a commandment for men! There are no girls in heaven to rape!
Though it IS God inspired from men moved with the Holy Spirit, do we obey this today? No!! Again by rightly dividing, this does not apply to us as this type of behavior is not of Christ!
BUT in the day that it was written, it was very needed and beneficial to what was THEN, a small number of people on the earth!