Did i play this hand correctly?
Hi, i'm new to this site, and i have never shared a hand before, and since it happened earlier today, i don't have the precise hand, but i remember it.
0.02/0.05 - Pokerstars
I was on button, he was BB, everyone has folded.
I have Kh 4s
I raise with 3 BB, sb folds, BB calls
4d , 9s , 6h
I raise with 0.10 , BB calls
Turn is a 4d
I raise with 0.15, he calls.
river is Jh, i raise with 0.30, he goes all in with a larger amount than me.
As confused as i am, i put him on a 4 as well, but since i have a king high kicker, i feel that i should call. I call, he shows 99.
Should i have folded? I was mad at myself right after, for not even considering if he had pocket pairs, but if this were to happen to me again, i would most likely be calling as well.
I'm new to the game, so please shed some light on it, and help me out.