Not only what has been said above, but foam is treatment, not sound proofing - sound proofing requires that you build structure within structure so that the interior is decoupled from the exterior.
Stop being cheap and actually do some research first and you will realise that no shortcut will get you there.....