Konnichiwa or Konnichiha? こんにちは

こんにちは sounds like Konnichiwa but it was written as Konnichiha

“こんにちは” is pronounced “こんにちわ”.
“わたしは”, “わたしわ”.
“うみへいく”, “うみえいく”.

I am just starting out with Japanese so I have no idea what you have written. I copy pasted こんにちは from the lesson. It was written as Konnichiha but sounded like Konnichiwa.

Latin transcription of japanese is just something to help foreigners, westerners. Unfortunately not all westerners pronounce the latin letters the same way.
As far as I remember from my very few japanese you are correct it is pronounced wa but written ha. You will also note they add u at the end of desu when it is often (always ? correct me please) pronounced des.

Trust your ears and if you are planing to read japanese go to the japanese writing asap.

は(ha) in こんにちは(ko-n-ni-chi-ha) is always pronounced わ(wa).