I see Atwood, so this is a propane gas water heater, corrrect?
I thinking this will be called a "standing pilot" in that the pilot light gets needs to be lit and then stays lit, ready to light the main burner whn calls to do it.
Long time since I used one of those, so some guessing is needed.
See the mark at the top near where we see it say "off? If correct, I think you need to turn the knob so pilot is under that mark, then does the knob push in? I think that is correct and you need to hold the knob in while Holding the lighter near the pilot location. While it has not been used in some time, there may be quite a delay before the gas pushes any air out of that line.
The trick is to hold the knob in and let the air blow out and when gas finally gets there, the pilot should light but then continue to hold the knob until the piot fire heats a small letal rod that should be sticking into that small pilot fire. It may take 30 seconds or so to heat that and start doing it's job of keeping the pilot lit!
A couple things to watch may help, if I'm guessing right!!!
While holding the knob in and the lighter near where the pilot will light, you may notice the lighter flame will blow around as any air comes out? That is a good sign a and you need to continue to hold the knob until the gas gets there! It may seem to take a week if not lit in a long time but just stay with holding if it is blowing as that means good will eventaully happen!
Then if you turn it loose too soon before the thermocouple has heated enough, the small flame goes out and you have to start over again. But the good news is the second time should have no pile of air in the line, so that wait is short!
How long to hold it varies but try counting to 50, maybe for the first time. Or if one lets pressure off holding very gradually while watching, the flame may begin to flicker and then you want to push the knob in again before the flame goes totally out.
Idea is that you are holding the valve open tot he pilot but you have to do it until the thermocouple gets hot enough to send a small voltage to do what your finger is doing--then you can let go and it should stay on?
Once the pilot stays on by itself, turn the knob to on and expect the main burner to light with a pretty scary "swoosh" if not used to it! Good practice not to have your head down to close to study it as it lights!