Hi Tian @Tian du plessis (sorry if your name is not taggable, the tagging doesn’t seem to work, when the username contains one or more spaces),
Weights are assigned to Vertices, so in your first image, you missed some Vertices, hence the spikes.
Like most things, it takes a bit of practice. Maybe it’ll be easier for you, if you change the Falloff to Projected:

Paint in Orthographic View and don’t be afraid, make fast horizontal strokes. It is very difficult to make a straight line, if you move (your mouse, pen, pencil,…) slowly.