why does my data pack give one level higher affect then its meant to?

heres the code i used scoreboard players enable @e[tag=warrior] warriors_might execute as @a[scores={warriors_might=0..}] at @p[tag=warrior] run effect give @p[tag=warrior] strength infinite 3 true execute as @a[scores={warriors_might=0..}] at @p[tag=warrior] run effect give @p[tag=warrior] resistance infinite 1 true scoreboard objectives add warriors_might dummy tag add warrior and i have my user name in there i am just not saying it since it was made by me when i was like 8 or something
Continue to help post