If you were behind NAT then yea you could be a bit concerned, but a plain firewall will not hide your IP.
A local software firewall on your machine will limit connections to/from your machine. A hardware firewall will manage traffic at the 'front door' so to speak. NAT will give you a different IP that the public can not see w/o a router. A firewall does not hide the IP.