Which position were you asking about?
Is it the right thing to do ?

You are lucky that your opponent did not click the draw button. Otherwise it would have been a draw.
BTW in move 35 better was Kd5. Use your knight & King to destroy white's a pawn. Then you can concentrate on the other 3 pawns. This should have been an easily win instead of the struggle & luck you had.
Is it the right thing to do ??
Hold the knight position...
The passed pawn a big threat..